summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
Commit message (Collapse)AuthorAgeFilesLines
* - Add two new system calls: preadv() and pwritev() which are like readv()jhb2005-07-073-16/+48
| | | | | | | | | | | | | | | | | 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
* Use 'manual page' instead of 'man page' for consistency.hmp2005-06-302-2/+2
| | | | Approved by: re (hrs)
* Assorted markup fixes.ru2005-06-151-1/+3
| | | | Approved by: re
* Fix the wording in this man page so that itrodrigc2005-06-101-2/+4
| | | | | | | | | | reflects the actual behavior of the API for listing extended attributes. PR: docs/79261 Submitted by: rodrigc Reviewed by: rwatson, kan Approved by: das (mentor)
* Update .Dd value.alc2005-06-041-1/+1
|
* Eliminate the original method of requesting notification of aio_read(2) andalc2005-06-041-9/+0
| | | | | | | | | | | | | | | | | aio_write(2) completion through kevent(2). This method does not work on 64-bit architectures. It was deprecated in FreeBSD 4.4. See revisions 1.87 and 1.70.2.7. Change aio_physwakeup() to call psignal(9) directly rather than indirectly through a timeout(9). Discussed with: bde Correct a bug introduced in revision 1.65 that could result in premature delivery of a signal if an lio_listio(2) consisted of a mixture of direct/raw and queued I/O operations. Observed by: tegge Eliminate a field from struct kaioinfo that is now unused. Reviewed by: tegge
* Document the fact that accept(2) may return EINVAL when addrlen iskeramida2005-05-041-0/+4
| | | | | | | | negative (in addition to returning EINVAL when called on a descriptor that is not a socket). Submitted by: Arne H Juul <arnej@europe.yahoo-inc.com> PR: docs/80587
* Make MSG_NOSIGNAL available to native programs.alfred2005-03-091-5/+9
| | | | | | Bump FreeBSD_version to note this change. Reviewed by: sobomax
* Fix a few markup nits in previous commit.trhodes2005-02-251-1/+1
| | | | Noticed by: ru, who else? :)
* Do not mislead users into checking for a mount_ufs or mount_ufs2 manualtrhodes2005-02-241-1/+3
| | | | | | | page. They do not exist. PR: 53303 Submitted by: Marc Silver <marcs@draenor.org> (original version)
* -document the fact that extattr_get_* can fail if the requestedcsjp2005-02-241-1/+3
| | | | | | | | attribute does not exist on the file. -bump document date Reviewed by: rwatson,trhodes MFC after: 1 week
* Xref chflags(2).trhodes2005-02-231-1/+7
| | | | | | Note that unlink.2 can return EPERM if the immutable or append-only flags are set. PR: 77043
* Expand contractions.ru2005-02-151-1/+1
|
* Expand contractions.ru2005-02-131-1/+1
|
* Expand *n't contractions.ru2005-02-139-11/+11
|
* read(), pread(), write(), and pwrite() return EINVAL if they are askedcperciva2005-02-102-0/+10
| | | | for more than INT_MAX bytes.
* Fixed the misplaced $FreeBSD$.ru2005-02-091-7/+7
|
* EISCONN may be returned by sendto() if an attempt is made to specify thekeramida2005-01-241-0/+2
| | | | | | | | destination address to a datagram socket that is already connected. Submitted by: Rudolf Cejka <cejkar@fit.vutbr.cz> PR: docs/76399 MFC after: 1 week
* Fixed punctuation in xrefs.ru2005-01-211-1/+1
|
* Sort sections.ru2005-01-2027-203/+203
|
* Eliminate macro calls inside literal displays.ru2005-01-153-4/+4
|
* Scheduled mdoc(7) sweep.ru2005-01-117-60/+97
|
* Catch up with stat.h a bit:trhodes2004-12-291-6/+5
| | | | | o Sticky bit is actually defined as S_ISTXT not S_ISVTX. o Sticky bit is wrapped in if __BSD_VISIBLE not _POSIX_SOURCE.
* ``NULL is a specific instance of a null pointer constant; the generic iskeramida2004-12-236-30/+12
| | | | | | | | | | | | | a "null pointer".'' Making good use of the excellent explanations sent to me by Ruslan Ermilov, Garrett Wollman and Bruce Evans, correct the descriptions of null pointers. They are just "null pointers", not nil, not NULL or ".Dv NULL". Suggested by: ru, wollman, bde Reviewed by: ru, wollman Pointy hat: keramida
* Punctuation marks should be separate arguments in groff macros.keramida2004-12-221-1/+1
| | | | Noticed by: ru
* Use .Dv NULL when referring to NULL C pointers, instead of "nil".keramida2004-12-226-11/+32
|
* Cross reference init(8) too, instead of vaguely referring to thekeramida2004-12-221-4/+7
| | | | "initialization process".
* MNT_NODEV is deprecated.ru2004-11-292-7/+2
|
* Document more fields of struct stat.yar2004-11-151-0/+32
| | | | | Note to mdoc(7) police: The document date has already been touched today.
* Use .Vt "struct stat" consistently.yar2004-11-151-1/+1
|
* Nitpicking on grammar.yar2004-11-151-1/+1
|
* Improve mdoc(7) markup of the page: add several missing macros,yar2004-11-151-10/+10
| | | | use .Va instead of .Li for struct stat fields.
* Document the S_IS*(mode) macros used to test for file types.yar2004-11-151-1/+27
| | | | Bump the document date accordingly.
* Add necessary whitespace to correct cross references.ceri2004-10-271-2/+2
| | | | | PR: docs/73193 Submitted by: Jilles Tjoelker <jilles at stack.nl>
* Reword the last change a bit, add mdoc(7) markup.yar2004-10-252-2/+6
| | | | Discussed with: bde
* Since sendfile(2) works on regular files only,yar2004-10-181-1/+1
| | | | | | | which have no negative offsets, "negative" and "invalid" are equivalent WRT the offset argument. Suggested by: bde
* Document EMSGSIZE return from recvmsg due to insufficient free filesalfred2004-10-171-1/+10
| | | | when transfering rights (file descriptors.)
* Explain it is a negative offset that EINVAL may indicate.yar2004-10-162-4/+4
| | | | | | | Now readers won't get an impression that pointing to beyond the current end of file will result in EINVAL. MFC after: 1 week
* Improve mdoc(7) markup.yar2004-10-161-3/+9
|
* Give details on what will happen if the `offset' argumentyar2004-10-161-2/+6
| | | | | | | | | to sendfile(2) falls beyond the end of file. Touch .Dd. PR: bin/72649 (in the audit trail) MFC after: 1 week
* Make less wrong for desciptions of signal handlingjulian2004-10-081-41/+53
| | | | MFC in: 1 week
* Add a BUGS section and copy the wording from mmap(2)'s MAP_NOSYNC,roam2004-09-031-0/+9
| | | | | | | | | documenting the obsoleteness of the msync(2) syscall and its single remaining purpose. PR: 70916 Submitted by: Radim Kolar <hsn@netmag.cz> MFC after: 3 days
* Document the MNT_SNAPSHOT mount flag with a cross-referenceroam2004-08-131-1/+7
| | | | | | | to mksnap_ffs(8). PR: 70402 Submitted by: James Raftery <james@now.ie>
* Update "documentation date" fields.green2004-08-101-1/+1
|
* Update mlock(2) manpage to cross-reference m{,un}lockall(2), removegreen2004-08-101-1/+5
| | | | | a case where ENOMEM could be returned by munlock(2), and add possible system deadlock to the BUGS section.
* Fix a case of _SC_CLK_TCK being misspelled as _SC_CLOCK_TCK.roam2004-08-061-1/+1
| | | | | | PR: 69428 Submitted by: Sascha Schneider <suntsu@suntsu.org> MFC after: 2 weeks
* Back out previous commit. Even though statfs(2) can take a regularcsjp2004-07-201-0/+4
| | | | | | | | file as an argument, it may still fail for the same reasons that open(2) can. Pointed out by: Jilles Tjoelker Apporived by: bmilekic (mentor)
* Remove reference to ENOTDIR in the documented errorscsjp2004-07-201-4/+0
| | | | | | | | for statfs(2). This is false, if the pathname specified is a regular file, then the information for the file system that the file lives on will be returned. Approved by: bmilekic (mentor)
* Document the MSG_DONTWAIT flag.harti2004-07-161-1/+8
|
* Clarify getfsstat(2) usage.alfred2004-07-161-1/+6
| | | | | | | | | The getfsstat(2) function expects a buffer and a count, and returns a count. The confusing part is that the count it takes is a byte count, while the return value is a count of the number of structures it has filled out. Spell this out.
OpenPOWER on IntegriCloud