OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man3 / system.3
index 0730693..7ae190c 100644 (file)
@@ -28,7 +28,7 @@
 .\" Modified 14 May 2001, 23 Sep 2001 by aeb
 .\" 2004-12-20, mtk
 .\"
-.TH SYSTEM 3  2014-05-10 "" "Linux Programmer's Manual"
+.TH SYSTEM 3  2014-06-13 "" "Linux Programmer's Manual"
 .SH NAME
 system \- execute a shell command
 .SH SYNOPSIS
@@ -48,7 +48,7 @@ using
 .BR execl (3)
 as follows:
 
-    execl("/bin/sh", "sh". "-c", command, (char *) 0);
+    execl("/bin/sh", "sh", "-c", command, (char *) 0);
 
 .BR system ()
 returns after the command has been completed.
@@ -107,6 +107,11 @@ and so on).
 .PP
 .BR system ()
 does not affect the wait status of any other children.
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR system ()
+function is thread-safe.
 .SH CONFORMING TO
 C89, C99, POSIX.1-2001.
 .SH NOTES
@@ -208,7 +213,7 @@ where a shell could not be executed in the child process.
 .BR exec (3),
 .BR signal (7)
 .SH COLOPHON
-This page is part of release 3.68 of the Linux
+This page is part of release 3.79 of the Linux
 .I man-pages
 project.
 A description of the project,