BSD 4_3 release
[unix-history] / usr / man / man3 / system.3f
index db043a8..0ed2006 100644 (file)
@@ -1,6 +1,13 @@
-.TH SYSTEM 3F "19 January 1983"
+.\" Copyright (c) 1983 Regents of the University of California.
+.\" All rights reserved.  The Berkeley software License Agreement
+.\" specifies the terms and conditions for redistribution.
+.\"
+.\"    @(#)system.3f   6.1 (Berkeley) 5/15/85
+.\"
+.TH SYSTEM 3F "May 15, 1985"
+.UC 5
 .SH NAME
 .SH NAME
-system \- execute a unix command
+system \- execute a \s-2UNIX\s0 command
 .SH SYNOPSIS
 .B integer function system (string)
 .br
 .SH SYNOPSIS
 .B integer function system (string)
 .br
@@ -10,10 +17,11 @@ system \- execute a unix command
 causes
 .I string
 to be given to your shell
 causes
 .I string
 to be given to your shell
-as input as if the string had been typed as a command at a terminal.
+as input as if the string had been typed as a command.
 If environment variable
 .B SHELL
 If environment variable
 .B SHELL
-is not found,
+is found, its value will be used as the command interpreter (shell);
+otherwise
 .IR sh (1)
 is used.
 .PP
 .IR sh (1)
 is used.
 .PP
@@ -29,4 +37,5 @@ for an explanation of this value.
 exec(2), wait(2), system(3)
 .SH BUGS
 .I String
 exec(2), wait(2), system(3)
 .SH BUGS
 .I String
-can not be longer than 255 characters.
+can not be longer than NCARGS\-50 characters, as defined in
+.RI < sys/param.h >.