summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/write.2
Commit message (Collapse)AuthorAgeFilesLines
* Consistently reference file descriptors as "fd". 55 other manpagesbdrewery2013-09-121-9/+9
| | | | | | | | used "fd", while these used "d" and "filedes". MFC after: 1 week Approved by: gjb Approved by: re (delphij)
* The sys/uio.h header is needed only for readv(2), preadv(2), writev(2) andpjd2012-01-221-2/+2
| | | | | | | pwritev(2). Document it more precisely. Reviewed by: jilles MFC after: 3 days
* Per Regents of the University of Calfornia letter, remove advertisingimp2007-01-091-4/+0
| | | | | | clause. # If I've done so improperly on a file, please let me know.
* Minor markup fix: A comma should be seperated by space from macrosimon2006-10-211-1/+1
| | | | | | | argument. This resulted in "pwritev,()" instead of the intended "pwritev()," in the output. MFC after: 3 days
* List pwritev in the NAME section.ru2006-04-141-1/+2
|
* -mdoc sweep.ru2005-11-171-1/+1
|
* - Add two new system calls: preadv() and pwritev() which are like readv()jhb2005-07-071-6/+21
| | | | | | | | | | | | | | | | | and writev() except that they take an additional offset argument and do not change the current file position. In SAT speak: preadv:readv::pread:read and pwritev:writev::pwrite:write. - Try to reduce code duplication some by merging most of the old kern_foov() and dofilefoo() functions into new dofilefoo() functions that are called by kern_foov() and kern_pfoov(). The non-v functions now all generate a simple uio on the stack from the passed in arguments and then call kern_foov(). For example, read() now just builds a uio and calls kern_readv() and pwrite() just builds a uio and calls kern_pwritev(). PR: kern/80362 Submitted by: Marc Olzheim marcolz at stack dot nl (1) Approved by: re (scottl) MFC after: 1 week
* read(), pread(), write(), and pwrite() return EINVAL if they are askedcperciva2005-02-101-0/+5
| | | | for more than INT_MAX bytes.
* Reword the last change a bit, add mdoc(7) markup.yar2004-10-251-1/+3
| | | | Discussed with: bde
* Explain it is a negative offset that EINVAL may indicate.yar2004-10-161-2/+2
| | | | | | | Now readers won't get an impression that pointing to beyond the current end of file will result in EINVAL. MFC after: 1 week
* Mechanically kill hard sentence breaks.ru2004-07-021-2/+4
|
* Changed EINVAL constant reference from UIO_MAXIOV to IOV_MAX.dds2003-10-111-1/+1
| | | | | The former is a kernel-only visible constant, the latter the POSIX-specified userland constant defined by including limits.h.
* Fix struct iovec documentation to match reality.mike2003-01-121-1/+1
| | | | Submitted by: Craig Rodrigues <rodrigc@attbi.com>
* mdoc(7) police: "The .Fa argument.".ru2002-12-191-2/+6
|
* mdoc(7) police: Tidy up the syscall language.ru2002-12-181-14/+22
| | | | | | | | | | Stop calling system calls "function calls". Use "The .Fn system call" a-la "The .Nm utility". When referring to a non-BSD implementation in the HISTORY section, call syscall a function, to be safe.
* Document that write(2) et al can return EROFS for attempts to write theschweikh2002-10-101-0/+7
| | | | | | | | disk label area. PR: 43891 Submitted by: Diomidis D. Spinellis <dds@istlab.dmst.aueb.gr> MFC after: 3 days
* Remove the internal implementation details of wrapping syscalls,ru2001-10-261-48/+0
| | | | | | which do not match the reality anyway. Approved by: deischen, bde
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-011-3/+3
|
* Remove whitespace at EOL.dd2001-07-151-6/+6
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.dd2001-07-091-1/+0
|
* Document the EINTR error.jasone2001-02-261-0/+2
|
* Replace .Va, .Ar and .Nm with .Fa or .Va where necessary, examples:chris2000-06-231-4/+4
| | | | | | ``.Ar errno'' -> ``.Va errno'' ``.Nm ops'' -> ``.Fa ops'' ``.Va fd'' -> ``.Fa fd''
* Introduce ".Lb" macro to libc manpages.phantom2000-04-211-0/+2
| | | | More libraries manpages updates following.
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-021-2/+4
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Document that writev(2) can fail with ENOBUFS.nik1999-07-301-1/+3
| | | | | | | | Text is a compromise based on messages from Wes Peters, Ville-Pertti Keinonen, and Matt Dillon. PR: docs/10512 Submitted by: Howard Goldstein <hgoldst@mpcs.com>
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* writev(2) can return EDESTADDRREQ when attempting to write to aghelmer1999-05-041-0/+6
| | | | | | | UNIX domain socket on which connect(2) had been used to set a destination address and the destination goes away. PR: docs/10451
* Document pread() and pwrite().dt1999-04-111-3/+31
| | | | Obtained from: NetBSD (mostly)
* Update to reflect current include files.mpp1997-01-301-2/+2
|
* upgrade STANDARDS from POSIX 1003.1-88 to 1003.1-90 using .St macrowosch1996-12-021-3/+4
| | | | | | use ``is expected to conform to'' phrase, not ``conforms to'' Pointed out by: Bruce->NIST-PCTS
* .DV -> .Dv (SOCK_STREAM was invisible).bde1996-09-281-1/+1
|
* Correctly use .Fn instead of .Nm to reference function namesmpp1996-08-221-4/+3
| | | | | | | | in a bunch of man pages. Use the correct .Bx (BSD UNIX) or .At (AT&T UNIX) macros instead of explicitly specifying the version in the text in a bunch of man pages.
* Reviewed by: julian and (hsu?)julian1996-01-221-0/+47
| | | | | | Submitted by: John Birrel(L?) changes for threadsafe operations
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+205
OpenPOWER on IntegriCloud