mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-04 12:52:15 +00:00
The .Fn function
The ... 2 system call
This commit is contained in:
parent
9d09157a0f
commit
b43dc21149
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112543
@ -231,8 +231,9 @@ For simplicity, error checking has been omitted.
|
||||
}
|
||||
.Ed
|
||||
.Sh RETURN VALUES
|
||||
The
|
||||
.Fn dlinfo
|
||||
returns 0 on success, or -1 if error occured.
|
||||
function returns 0 on success, or -1 if error occured.
|
||||
Whenever an error has been detected, a message detailing it can
|
||||
be retrieved via a call to
|
||||
.Fn dlerror .
|
||||
|
@ -179,8 +179,9 @@ and
|
||||
.Pp
|
||||
The system imposes a limit on the number of file descriptors
|
||||
open simultaneously by one process.
|
||||
.Xr Getdtablesize 2
|
||||
returns the current system limit.
|
||||
The
|
||||
.Xr getdtablesize 2
|
||||
system call returns the current system limit.
|
||||
.Sh RETURN VALUES
|
||||
If successful,
|
||||
.Fn open
|
||||
|
@ -264,8 +264,9 @@ or
|
||||
all signals, the signal mask, the signal stack,
|
||||
and the restart/interrupt flags are inherited by the child.
|
||||
.Pp
|
||||
.Xr Execve 2
|
||||
reinstates the default
|
||||
The
|
||||
.Xr execve 2
|
||||
system call reinstates the default
|
||||
action for all signals which were caught and
|
||||
resets all signals to be caught on the user stack.
|
||||
Ignored signals remain ignored;
|
||||
|
@ -226,10 +226,11 @@ The operation of sockets is controlled by socket level
|
||||
.Em options .
|
||||
These options are defined in the file
|
||||
.Ao Pa sys/socket.h Ac .
|
||||
.Xr Setsockopt 2
|
||||
The
|
||||
.Xr setsockopt 2
|
||||
and
|
||||
.Xr getsockopt 2
|
||||
are used to set and get options, respectively.
|
||||
system calls are used to set and get options, respectively.
|
||||
.Sh RETURN VALUES
|
||||
A -1 is returned if an error occurs, otherwise the return
|
||||
value is a descriptor referencing the socket.
|
||||
|
Loading…
Reference in New Issue
Block a user