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/poll.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/poll.2')
-rw-r--r-- | lib/libc/sys/poll.2 | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/libc/sys/poll.2 b/lib/libc/sys/poll.2 index df306e7..1026811 100644 --- a/lib/libc/sys/poll.2 +++ b/lib/libc/sys/poll.2 @@ -41,7 +41,9 @@ .Ft int .Fn poll "struct pollfd fds[]" "nfds_t nfds" "int timeout" .Sh DESCRIPTION -.Fn Poll +The +.Fn poll +system call examines a set of file descriptors to see if some of them are ready for I/O. The @@ -128,7 +130,9 @@ is zero, then .Fn poll will return without blocking. .Sh RETURN VALUES -.Fn Poll +The +.Fn poll +system call returns the number of descriptors that are ready for I/O, or -1 if an error occured. If the time limit expires, .Fn poll @@ -136,7 +140,7 @@ returns 0. If .Fn poll returns with an error, -including one due to an interrupted call, +including one due to an interrupted system call, the .Fa fds array will be unmodified. @@ -185,7 +189,7 @@ defined for compatibility with existing software. .Sh HISTORY The .Fn poll -function call appeared in +function appeared in .At V . This manual page and the core of the implementation was taken from .Nx . |