1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-15 15:06:42 +00:00

The .Fn function

This commit is contained in:
Giorgos Keramidas 2002-07-15 19:56:24 +00:00
parent c98a4bf3fb
commit e812f24f6d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=100137
3 changed files with 18 additions and 11 deletions

View File

@ -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.

View File

@ -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

View File

@ -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.