aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/aio_return.2
Commit message (Collapse)AuthorAgeFilesLines
* Fully handle size_t lengths in AIO requests.John Baldwin2016-03-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First, update the return types of aio_return() and aio_waitcomplete() to ssize_t. POSIX requires aio_return() to return a ssize_t so that it can represent all return values from read() and write(). aio_waitcomplete() should use ssize_t for the same reason. aio_return() has used ssize_t in <aio.h> since r31620 but the manpage and system call entry were not updated. aio_waitcomplete() has always returned int. Note that this does not require new system call stubs as this is effectively only an API change in how the compiler interprets the return value. Second, allow aio_nbytes values up to IOSIZE_MAX instead of just INT_MAX. aio_read/write should now honor the same length limits as normal read/write. Third, use longs instead of ints in the aio_return() and aio_waitcomplete() system call functions so that the 64-bit size_t in the in-kernel aiocb isn't truncated to 32-bits before being copied out to userland or being returned. Finally, a simple test has been added to verify the bounds checking on the maximum read size from a file. Notes: svn path=/head/; revision=297167
* use .Mt to mark up email addresses consistently (part4)Baptiste Daroussin2014-06-231-1/+1
| | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de> Notes: svn path=/head/; revision=267774
* Reword previous delta a little bit.Tom Rhodes2006-10-071-14/+8
| | | | | | | Submitted by: ru Notes: svn path=/head/; revision=163073
* Fix ambiguity in description. Note that the aio_return() system call shouldTom Rhodes2006-10-071-5/+9
| | | | | | | | | | only be called once after failure or completion of an AIO request. Bump doc date while I'm here. Noticed by: Samy Al Bahra Notes: svn path=/head/; revision=163066
* Refer to 1003.1 instead of 1003.2 in the Standards section.Tim J. Robbins2003-01-131-1/+1
| | | | Notes: svn path=/head/; revision=109174
* mdoc(7) police: "The .Fa argument.".Ruslan Ermilov2002-12-191-0/+2
| | | | Notes: svn path=/head/; revision=108087
* mdoc(7) police: Tidy up the syscall language.Ruslan Ermilov2002-12-181-4/+8
| | | | | | | | | | | | | 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
* * Modernize aio(4), providing instructions for static and dynamic kernelSheldon Hearn2002-10-241-21/+1
| | | | | | | | | | | | | | | | | linking. * Fix disorder in the SEE ALSO sections of aio_*(2). * Remove unnecessary cross-references from the SEE ALSO sections of aio_*(2); config(8), kldload(8) and kldunload(8) are cross-referenced from aio(4). * Remove the KERNEL OPTIONS sections from aio_*(2), now that these pages cross-reference aio(4), which contains suitable kernel linking reference material. Notes: svn path=/head/; revision=105864
* Add cross-references to the aio(4) manual page.Dag-Erling Smørgrav2002-10-241-0/+1
| | | | | | | Submitted by: Craig Rodrigues <rodrigc@attbi.com> Notes: svn path=/head/; revision=105861
* Explain to users that they may want to kldload aio.Alfred Perlstein2002-10-221-9/+29
| | | | | | | | | Move Xref sections. Submitted by: Craig Rodrigues <rodrigc@attbi.com> Notes: svn path=/head/; revision=105720
* mdoc(7) police: Use the new .In macro for #include statements.Ruslan Ermilov2001-10-011-1/+1
| | | | Notes: svn path=/head/; revision=84306
* Remove whitespace at EOL.Dima Dorfman2001-07-151-2/+2
| | | | Notes: svn path=/head/; revision=79754
* mdoc(7) police: Er macro usage cleanup.Ruslan Ermilov2000-11-221-1/+1
| | | | Notes: svn path=/head/; revision=69051
* Remove fullstops from the end of .Xr lines in SEE ALSO section.Ben Smithurst2000-11-151-1/+1
| | | | Notes: svn path=/head/; revision=68751
* Replace .Va, .Ar and .Nm with .Fa or .Va where necessary, examples:Chris Costello2000-06-231-2/+2
| | | | | | | | | ``.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
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Various man page cleanup:Mike Pritchard1999-08-151-6/+6
| | | | | | | | | | | | | - Sort xrefs - FreeBSD.ORG -> FreeBSD.org - Be consistent with section names as outlines in mdoc(7) - Other misc mdoc cleanup. PR: doc/13144 Submitted by: Alexy M. Zelkin <phantom@cris.net> Notes: svn path=/head/; revision=49828
* Nuke the BUGS sections of these man pages because they are not appropriate.Mike Pritchard1999-07-011-3/+1
| | | | Notes: svn path=/head/; revision=48422
* Fix typos/spelling errors.Mike Pritchard1999-07-011-2/+2
| | | | Notes: svn path=/head/; revision=48421
* Add mising aio_* man pages. Fixed a minor typo in aio_read.2,Wes Peters1999-07-011-0/+97
and "corrected" statement of Posix conformance. Notes: svn path=/head/; revision=48411