aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2018-11-24 08:02:01 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2018-11-24 08:02:48 +0100
commit63e59e0d3146d36ab908b2dfbbfaed02f097998e (patch)
tree52fa276a849699ce7d37bc309a0e7232877fcdf5
parent0cb0dd1c5d303ac0212d34ff947d921f70370f66 (diff)
downloadman-pages-63e59e0d3146d36ab908b2dfbbfaed02f097998e.tar.gz
system.3: Note that system() can fail for the same reasons as fork(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/system.34
1 files changed, 4 insertions, 0 deletions
diff --git a/man3/system.3 b/man3/system.3
index 58efd07472..66a3ced18b 100644
--- a/man3/system.3
+++ b/man3/system.3
@@ -113,6 +113,10 @@ and so on).
.PP
.BR system ()
does not affect the wait status of any other children.
+.SH ERRORS
+.BR system ()
+can fail with any of the same errors as
+.BR fork (2).
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).