]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/system.3
Wrapped long lines, wrapped at sentence boundaries; stripped trailing
[thirdparty/man-pages.git] / man3 / system.3
index c26b89e8aa03e5bcbea77284465827dcab83bad4..87deca3881eedc6d5feff084786988d189c4d18a 100644 (file)
@@ -8,7 +8,7 @@
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
 .\" permission notice identical to this one.
-.\" 
+.\"
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
 .\" responsibility for errors or omissions, or for damages resulting from
@@ -16,7 +16,7 @@
 .\" have taken the same level of care in the production of this manual,
 .\" which is licensed free of charge, as they might when working
 .\" professionally.
-.\" 
+.\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
 .\" License.
@@ -50,7 +50,7 @@ and
 .B SIGQUIT
 will be ignored.
 .SH "RETURN VALUE"
-The value returned is \-1 on error (e.g. 
+The value returned is \-1 on error (e.g.
 .BR fork ()
 failed),
 and the return status of the command otherwise.
@@ -83,13 +83,14 @@ feature test macro is defined, then the macros described in
 .BR wait (2)
 .RB ( WEXITSTATUS (),
 etc.) are made available when including
-.IR <stdlib.h> . 
+.IR <stdlib.h> .
 .PP
 As mentioned,
 .BR system ()
 ignores SIGINT and SIGQUIT.  This may make programs that call it
 from a loop uninterruptible, unless they take care themselves
-to check the exit status of the child. E.g.
+to check the exit status of the child.
+E.g.
 .br
 .nf
 
@@ -114,7 +115,7 @@ family of functions instead, but not
 or
 .BR execvp (3).
 .BR system ()
-will not, in fact, work properly from programs with set-user-ID or 
+will not, in fact, work properly from programs with set-user-ID or
 set-group-ID privileges on systems on which
 .I /bin/sh
 is bash version 2, since bash 2 drops privileges on startup.