diff options
author | keramida <keramida@FreeBSD.org> | 2002-07-15 19:56:24 +0000 |
---|---|---|
committer | keramida <keramida@FreeBSD.org> | 2002-07-15 19:56:24 +0000 |
commit | c6226499e948e58cd71ccdefc315194a7afe80b4 (patch) | |
tree | c83f53e929cf364c45a86479319b140344b4136c /lib | |
parent | 13b1a9cedc7ac32c55a9f3329ccdee698f421750 (diff) | |
download | FreeBSD-src-c6226499e948e58cd71ccdefc315194a7afe80b4.zip FreeBSD-src-c6226499e948e58cd71ccdefc315194a7afe80b4.tar.gz |
The .Fn function
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/acct.2 | 5 | ||||
-rw-r--r-- | lib/libc/sys/bind.2 | 9 | ||||
-rw-r--r-- | lib/libc/sys/stat.2 | 15 |
3 files changed, 18 insertions, 11 deletions
diff --git a/lib/libc/sys/acct.2 b/lib/libc/sys/acct.2 index ab219bd..c9b79c3 100644 --- a/lib/libc/sys/acct.2 +++ b/lib/libc/sys/acct.2 @@ -82,8 +82,9 @@ space once again becomes available. On error -1 is returned. The file must exist and the call may be exercised only by the super-user. .Sh ERRORS -.Fn Acct -will fail if one of the following is true: +The +.Fn acct +function will fail if one of the following is true: .Bl -tag -width Er .It Bq Er EPERM The caller is not the super-user. diff --git a/lib/libc/sys/bind.2 b/lib/libc/sys/bind.2 index d9507bf..c0afbd7 100644 --- a/lib/libc/sys/bind.2 +++ b/lib/libc/sys/bind.2 @@ -46,14 +46,17 @@ .Ft int .Fn bind "int s" "const struct sockaddr *addr" "socklen_t addrlen" .Sh DESCRIPTION -.Fn Bind +The +.Fn bind +function assigns the local protocol address to a socket. When a socket is created with .Xr socket 2 it exists in an address family space but has no protocol address assigned. -.Fn Bind -requests that +The +.Fn bind +function requests that .Fa addr be assigned to the socket. .Sh NOTES diff --git a/lib/libc/sys/stat.2 b/lib/libc/sys/stat.2 index ba60b54..2275faa 100644 --- a/lib/libc/sys/stat.2 +++ b/lib/libc/sys/stat.2 @@ -60,8 +60,9 @@ Read, write or execute permission of the named file is not required, but all directories listed in the path name leading to the file must be searchable. .Pp -.Fn Lstat -is like +The +.Fn lstat +function is like .Fn stat except in the case where the named file is a symbolic link, in which case @@ -213,10 +214,11 @@ and .Li st_blocks fields. .Sh ERRORS -.Fn Stat +The +.Fn stat and .Fn lstat -will fail if: +functions will fail if: .Bl -tag -width Er .It Bq Er EACCES Search permission is denied for a component of the path prefix. @@ -243,8 +245,9 @@ represented correctly in the structure pointed to by .El .Pp .Bl -tag -width Er -.Fn Fstat -will fail if: +The +.Fn fstat +function will fail if: .It Bq Er EBADF .Fa fd is not a valid open file descriptor. |