summaryrefslogtreecommitdiff
path: root/lib/libc/sys/write.2
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagrelease/6.0.0_cvscvs2svn2005-11-031-1/+1
| | | | | | 'RELENG_6_0_0_RELEASE'. This commit was manufactured to restore the state of the 6.0-RELEASE image.
* - Add two new system calls: preadv() and pwritev() which are like readv()John Baldwin2005-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 Notes: svn path=/head/; revision=147813
* read(), pread(), write(), and pwrite() return EINVAL if they are askedColin Percival2005-02-101-0/+5
| | | | | | | for more than INT_MAX bytes. Notes: svn path=/head/; revision=141663
* Reword the last change a bit, add mdoc(7) markup.Yaroslav Tykhiy2004-10-251-1/+3
| | | | | | | Discussed with: bde Notes: svn path=/head/; revision=136948
* Explain it is a negative offset that EINVAL may indicate.Yaroslav Tykhiy2004-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 Notes: svn path=/head/; revision=136591
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-2/+4
| | | | Notes: svn path=/head/; revision=131504
* Changed EINVAL constant reference from UIO_MAXIOV to IOV_MAX.Diomidis Spinellis2003-10-111-1/+1
| | | | | | | | The former is a kernel-only visible constant, the latter the POSIX-specified userland constant defined by including limits.h. Notes: svn path=/head/; revision=121011
* Fix struct iovec documentation to match reality.Mike Barcroft2003-01-121-1/+1
| | | | | | | Submitted by: Craig Rodrigues <rodrigc@attbi.com> Notes: svn path=/head/; revision=109140
* mdoc(7) police: "The .Fa argument.".Ruslan Ermilov2002-12-191-2/+6
| | | | Notes: svn path=/head/; revision=108087
* mdoc(7) police: Tidy up the syscall language.Ruslan Ermilov2002-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. Notes: svn path=/head/; revision=108028
* Document that write(2) et al can return EROFS for attempts to write theJens Schweikhardt2002-10-101-0/+7
| | | | | | | | | | | disk label area. PR: 43891 Submitted by: Diomidis D. Spinellis <dds@istlab.dmst.aueb.gr> MFC after: 3 days Notes: svn path=/head/; revision=104813
* Remove the internal implementation details of wrapping syscalls,Ruslan Ermilov2001-10-261-48/+0
| | | | | | | | | which do not match the reality anyway. Approved by: deischen, bde Notes: svn path=/head/; revision=85555
* mdoc(7) police: Use the new .In macro for #include statements.Ruslan Ermilov2001-10-011-3/+3
| | | | Notes: svn path=/head/; revision=84306
* Remove whitespace at EOL.Dima Dorfman2001-07-151-6/+6
| | | | Notes: svn path=/head/; revision=79754
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79531
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.Dima Dorfman2001-07-091-1/+0
| | | | Notes: svn path=/head/; revision=79454
* Document the EINTR error.Jason Evans2001-02-261-0/+2
| | | | Notes: svn path=/head/; revision=73084
* Replace .Va, .Ar and .Nm with .Fa or .Va where necessary, examples:Chris Costello2000-06-231-4/+4
| | | | | | | | | ``.Ar errno'' -> ``.Va errno'' ``.Nm ops'' -> ``.Fa ops'' ``.Va fd'' -> ``.Fa fd'' Notes: svn path=/head/; revision=61988
* Introduce ".Lb" macro to libc manpages.Alexey Zelkin2000-04-211-0/+2
| | | | | | | More libraries manpages updates following. Notes: svn path=/head/; revision=59460
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-021-2/+4
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57686
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Document that writev(2) can fail with ENOBUFS.Nik Clayton1999-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> Notes: svn path=/head/; revision=49298
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-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 Notes: svn path=/head/; revision=48794
* writev(2) can return EDESTADDRREQ when attempting to write to aGuy Helmer1999-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 Notes: svn path=/head/; revision=46441
* Document pread() and pwrite().Dmitrij Tejblum1999-04-111-3/+31
| | | | | | | Obtained from: NetBSD (mostly) Notes: svn path=/head/; revision=45607
* Update to reflect current include files.Mike Pritchard1997-01-301-2/+2
| | | | Notes: svn path=/head/; revision=22134
* upgrade STANDARDS from POSIX 1003.1-88 to 1003.1-90 using .St macroWolfram Schneider1996-12-021-3/+4
| | | | | | | | | use ``is expected to conform to'' phrase, not ``conforms to'' Pointed out by: Bruce->NIST-PCTS Notes: svn path=/head/; revision=20097
* .DV -> .Dv (SOCK_STREAM was invisible).Bruce Evans1996-09-281-1/+1
| | | | Notes: svn path=/head/; revision=18534
* Correctly use .Fn instead of .Nm to reference function namesMike Pritchard1996-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. Notes: svn path=/head/; revision=17782
* Reviewed by: julian and (hsu?)Julian Elischer1996-01-221-0/+47
| | | | | | | | | Submitted by: John Birrel(L?) changes for threadsafe operations Notes: svn path=/head/; revision=13545
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-271-0/+205
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573