diff options
-rw-r--r-- | lib/libc/gen/dlinfo.3 | 3 | ||||
-rw-r--r-- | lib/libc/sys/open.2 | 5 | ||||
-rw-r--r-- | lib/libc/sys/sigaction.2 | 5 | ||||
-rw-r--r-- | lib/libc/sys/socket.2 | 5 |
4 files changed, 11 insertions, 7 deletions
diff --git a/lib/libc/gen/dlinfo.3 b/lib/libc/gen/dlinfo.3 index 53ac258..597717e 100644 --- a/lib/libc/gen/dlinfo.3 +++ b/lib/libc/gen/dlinfo.3 @@ -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 . diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2 index f125877..c3fc4d8 100644 --- a/lib/libc/sys/open.2 +++ b/lib/libc/sys/open.2 @@ -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 diff --git a/lib/libc/sys/sigaction.2 b/lib/libc/sys/sigaction.2 index 62b3298..1c38751 100644 --- a/lib/libc/sys/sigaction.2 +++ b/lib/libc/sys/sigaction.2 @@ -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; diff --git a/lib/libc/sys/socket.2 b/lib/libc/sys/socket.2 index 8031165..606099b 100644 --- a/lib/libc/sys/socket.2 +++ b/lib/libc/sys/socket.2 @@ -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. |