aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2009-02-23 15:34:12 +1300
committerMichael Kerrisk <mtk.manpages@gmail.com>2009-02-23 15:34:12 +1300
commit28d03ce9e92b30b0fa307ef49fd579b118f25f9b (patch)
treefc13f3f1d5ed8d803e2646ea2f1049da746793f1
parent9e39c4da0569b82226bc79781f442cad0e49ce8a (diff)
downloadman-pages-28d03ce9e92b30b0fa307ef49fd579b118f25f9b.tar.gz
daemon.3, exec.3, fmemopen.3, fopen.3, realpath.3, siginterrupt.3, strtoul.3: Minor rewordings
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/daemon.34
-rw-r--r--man3/exec.37
-rw-r--r--man3/fmemopen.34
-rw-r--r--man3/fopen.34
-rw-r--r--man3/realpath.35
-rw-r--r--man3/siginterrupt.32
-rw-r--r--man3/strtoul.32
7 files changed, 13 insertions, 15 deletions
diff --git a/man3/daemon.3 b/man3/daemon.3
index bea3b4b5c2..bff971561c 100644
--- a/man3/daemon.3
+++ b/man3/daemon.3
@@ -31,7 +31,7 @@
.\"
.\" @(#)daemon.3 8.1 (Berkeley) 6/9/93
.\" Added mentioning of glibc weirdness wrt unistd.h. 5/11/98, Al Viro
-.TH DAEMON 3 2007-07-26 "GNU" "Linux Programmer's Manual"
+.TH DAEMON 3 2009-02-23 "GNU" "Linux Programmer's Manual"
.SH NAME
daemon \- run in the background
.SH SYNOPSIS
@@ -74,7 +74,7 @@ so that further errors are seen by the child only.)
On success zero will be returned.
If an error occurs,
.BR daemon ()
-returns \-1 and sets the global variable
+returns \-1 and sets
.I errno
to any of the errors specified for the
.BR fork (2)
diff --git a/man3/exec.3 b/man3/exec.3
index d11918f9a6..16b666649f 100644
--- a/man3/exec.3
+++ b/man3/exec.3
@@ -36,7 +36,7 @@
.\" Modified, 24 Jun 2004, Michael Kerrisk <mtk.manpages@gmail.com>
.\" Added note on casting NULL
.\"
-.TH EXEC 3 2008-08-20 "GNU" "Linux Programmer's Manual"
+.TH EXEC 3 2009-02-22 "GNU" "Linux Programmer's Manual"
.SH NAME
execl, execlp, execle, execv, execvp \- execute a file
.SH SYNOPSIS
@@ -141,7 +141,7 @@ failed with the error
.BR EACCES ),
these functions will continue searching the rest of the search path.
If no other file is found, however,
-they will return with the global variable
+they will return with
.I errno
set to
.BR EACCES .
@@ -158,8 +158,7 @@ with the path of the file as its first argument.
If any of the
.BR exec ()
functions returns, an error will have occurred.
-The return value is \-1,
-and the global variable
+The return value is \-1, and
.I errno
will be set to indicate the error.
.SH ERRORS
diff --git a/man3/fmemopen.3 b/man3/fmemopen.3
index 38bd1bb3c9..608e16f036 100644
--- a/man3/fmemopen.3
+++ b/man3/fmemopen.3
@@ -3,7 +3,7 @@
.\" Distributed under the GPL.
.\" 2008-12-04, Petr Baudis <pasky@suse.cz>: Document open_wmemstream()
.\"
-.TH FMEMOPEN 3 2009-02-04 "GNU" "Linux Programmer's Manual"
+.TH FMEMOPEN 3 2009-02-22 "GNU" "Linux Programmer's Manual"
.SH NAME
fmemopen, open_memstream, open_wmemstream \- open memory as stream
.SH SYNOPSIS
@@ -158,7 +158,7 @@ and
return a
.I FILE
pointer.
-Otherwise, NULL is returned and the global variable
+Otherwise, NULL is returned and
.I errno
is set to indicate the error.
.SH VERSIONS
diff --git a/man3/fopen.3 b/man3/fopen.3
index 2a874df706..60998b8f48 100644
--- a/man3/fopen.3
+++ b/man3/fopen.3
@@ -39,7 +39,7 @@
.\" Modified, aeb, 960421, 970806
.\" Modified, joey, aeb, 2002-01-03
.\"
-.TH FOPEN 3 2008-12-05 "GNU" "Linux Programmer's Manual"
+.TH FOPEN 3 2009-02-23 "GNU" "Linux Programmer's Manual"
.SH NAME
fopen, fdopen, freopen \- stream open functions
.SH SYNOPSIS
@@ -195,7 +195,7 @@ and
return a
.I FILE
pointer.
-Otherwise, NULL is returned and the global variable
+Otherwise, NULL is returned and
.I errno
is set to indicate the error.
.SH ERRORS
diff --git a/man3/realpath.3 b/man3/realpath.3
index c8a44a8c46..73e6fdbdab 100644
--- a/man3/realpath.3
+++ b/man3/realpath.3
@@ -23,7 +23,7 @@
.\" Rewritten old page, 990824, aeb@cwi.nl
.\" 2004-12-14, mtk, added discussion of resolved_path == NULL
.\"
-.TH REALPATH 3 2009-02-21 "" "Linux Programmer's Manual"
+.TH REALPATH 3 2009-02-23 "" "Linux Programmer's Manual"
.SH NAME
realpath \- return the canonicalized absolute pathname
.SH SYNOPSIS
@@ -90,8 +90,7 @@ returns a pointer to the
Otherwise it returns a NULL pointer, and the contents
of the array
.I resolved_path
-are undefined.
-The global variable
+are undefined, and
.I errno
is set to indicate the error.
.SH ERRORS
diff --git a/man3/siginterrupt.3 b/man3/siginterrupt.3
index 3db2e2c3f6..af0f18f1b6 100644
--- a/man3/siginterrupt.3
+++ b/man3/siginterrupt.3
@@ -58,7 +58,7 @@ function, the system call is interrupted by default.
.PP
If the \fIflag\fP argument is true (1) and no data has been transferred,
then a system call interrupted by the signal \fIsig\fP will return \-1
-and the global variable \fIerrno\fP will be set to
+and \fIerrno\fP will be set to
.BR EINTR .
.PP
If the \fIflag\fP argument is true (1) and data transfer has started,
diff --git a/man3/strtoul.3 b/man3/strtoul.3
index c7eafca828..78af624572 100644
--- a/man3/strtoul.3
+++ b/man3/strtoul.3
@@ -111,7 +111,7 @@ the latter case,
.BR strtoul ()
returns
.B ULONG_MAX
-and sets the global variable \fIerrno\fP to
+and sets \fIerrno\fP to
.BR ERANGE .
Precisely the same holds for
.BR strtoull ()