summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/execve.215
-rw-r--r--lib/libc/sys/intro.24
-rw-r--r--lib/libc/sys/sigaltstack.26
3 files changed, 10 insertions, 15 deletions
diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2
index 06d01d8..a4af9bf 100644
--- a/lib/libc/sys/execve.2
+++ b/lib/libc/sys/execve.2
@@ -66,11 +66,9 @@ An interpreter file begins with a line of the form:
.Ed
.Pp
When an interpreter file is
-.\" was .Fn execve Ap d ,
-\fBexecve\fP'd,
+.Sy execve Ap d ,
the system
-.\" was .Fn execve Ap s
-\fBexecve\fP's
+.Sy execve Ap s
runs the specified
.Em interpreter .
If the optional
@@ -78,16 +76,13 @@ If the optional
is specified, it becomes the first argument to the
.Em interpreter ,
and the name of the originally
-.\" was .Fn execve Ap d
-\fBexecve\fP'd
+.Sy execve Ap d
file becomes the second argument;
otherwise, the name of the originally
-.\" was .Fn execve Ap d
-\fBexecve\fP'd
+.Sy execve Ap d
file becomes the first argument. The original arguments are shifted over to
become the subsequent arguments. The zeroth argument, normally the name of the
-.\" was .Fn execve Ap d
-\fBexecve\fP'd
+.Sy execve Ap d
file, is left unchanged.
.Pp
The argument
diff --git a/lib/libc/sys/intro.2 b/lib/libc/sys/intro.2
index c9fb3fa..4c30f01 100644
--- a/lib/libc/sys/intro.2
+++ b/lib/libc/sys/intro.2
@@ -157,7 +157,7 @@ executable file.
A file descriptor argument was out of range, referred to no open file,
or a read (write) request was made to a file that was only open for
writing (reading).
-.sp
+.Pp
.It Er 10 ECHILD Em "\&No child processes" .
A
.Xr wait 2
@@ -325,7 +325,7 @@ addresses with
Internet protocols.
.It Er 48 EADDRINUSE Em "Address already in use" .
Only one usage of each address is normally permitted.
-.sp
+.Pp
.It Er 49 EADDRNOTAVAIL Em "Cannot assign requested address" .
Normally results from an attempt to create a socket with an
address not on this machine.
diff --git a/lib/libc/sys/sigaltstack.2 b/lib/libc/sys/sigaltstack.2
index cecd888..f03317b 100644
--- a/lib/libc/sys/sigaltstack.2
+++ b/lib/libc/sys/sigaltstack.2
@@ -42,7 +42,7 @@
.Fd #include <signal.h>
.Bd -literal
struct sigaltstack {
- caddr_t ss_base;
+ caddr_t ss_sp;
long ss_size;
int ss_flags;
};
@@ -74,7 +74,7 @@ If
.Dv SS_DISABLE
is set in
.Fa ss_flags ,
-.Fa ss_base
+.Fa ss_sp
and
.Fa ss_size
are ignored and the signal stack will be disabled.
@@ -106,7 +106,7 @@ is defined to be the number of bytes/chars that would be used to cover
the usual case when allocating an alternate stack area.
The following code fragment is typically used to allocate an alternate stack.
.Bd -literal -offset indent
-if ((sigstk.ss_base = malloc(SIGSTKSZ)) == NULL)
+if ((sigstk.ss_sp = malloc(SIGSTKSZ)) == NULL)
/* error return */
sigstk.ss_size = SIGSTKSZ;
sigstk.ss_flags = 0;
OpenPOWER on IntegriCloud