diff options
author | ru <ru@FreeBSD.org> | 2002-12-18 09:22:32 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-12-18 09:22:32 +0000 |
commit | a4b155d7a2170a500eb79b46959eef4018441062 (patch) | |
tree | cb18f664ed0ee63bee30f6af9b148510b6e9663b /lib/libc/sys/aio_read.2 | |
parent | e7e659d1cc574138f455ed70d58a07294211ff5a (diff) | |
download | FreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.zip FreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.tar.gz |
mdoc(7) police: Tidy up the syscall language.
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.
Diffstat (limited to 'lib/libc/sys/aio_read.2')
-rw-r--r-- | lib/libc/sys/aio_read.2 | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/libc/sys/aio_read.2 b/lib/libc/sys/aio_read.2 index e1256ce..8090963 100644 --- a/lib/libc/sys/aio_read.2 +++ b/lib/libc/sys/aio_read.2 @@ -40,7 +40,7 @@ .Sh DESCRIPTION The .Fn aio_read -function allows the calling process to read +system call allows the calling process to read .Fa iocb->aio_nbytes from the descriptor .Fa iocb->aio_fildes @@ -61,7 +61,7 @@ The .Fa iocb->aio_lio_opcode is ignored by the .Fn aio_read -call. +system call. .Pp The .Fa iocb @@ -110,26 +110,26 @@ None. .Sh ERRORS The .Fn aio_read -function will fail if: +system call will fail if: .Bl -tag -width Er .It Bq Er EAGAIN The request was not queued because of system resource limitations. .It Bq Er ENOSYS The .Fn aio_read -call is not supported. +system call is not supported. .El .Pp The following conditions may be synchronously detected when the .Fn aio_read -call is made, or asynchronously, at any time thereafter. If they +system call is made, or asynchronously, at any time thereafter. If they are detected at call time, .Fn aio_read returns -1 and sets .Va errno appropriately; otherwise the .Fn aio_return -function must be called, and will return -1, and +system call must be called, and will return -1, and .Fn aio_error must be called to determine the actual calue that would have been returned in @@ -160,13 +160,13 @@ offset maximum. If the request is successfully enqueued, but subsequently cancelled or an error occurs, the value returned by the .Fn aio_return -function is per the +system call is per the .Xr read 2 -call, and the value returned by the +system call, and the value returned by the .Fn aio_error -function is either one of the error returns from the +system call is either one of the error returns from the .Xr read 2 -call, or one of: +system call, or one of: .Bl -tag -width Er .It Bq Er EBADF .Fa iocb->aio_fildes @@ -190,13 +190,13 @@ would be invalid. .Sh STANDARDS The .Fn aio_read -call is expected to conform to the +system call is expected to conform to the .St -p1003.2 standard. .Sh HISTORY The -.Nm -function first appeared in +.Fn aio_read +system call first appeared in .Fx 3.0 . .Sh AUTHORS This |