bsd man page for system

Query: system

OS: bsd

Section: 3f

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SYSTEM(3F)																SYSTEM(3F)

NAME
system - execute a UNIX command
SYNOPSIS
integer function system (string) character*(*) string
DESCRIPTION
System causes string to be given to your shell as input as if the string had been typed as a command. If environment variable SHELL is found, its value will be used as the command interpreter (shell); otherwise sh(1) is used. The current process waits until the command terminates. The returned value will be the exit status of the shell. See wait(2) for an explanation of this value.
FILES
/usr/lib/libU77.a
SEE ALSO
exec(2), wait(2), system(3)
BUGS
String can not be longer than NCARGS-50 characters, as defined in <sys/param.h>. 4.2 Berkeley Distribution May 15, 1985 SYSTEM(3F)
Related Man Pages
chroot(8) - mojave
system(3) - redhat
system(3) - debian
system(3) - osf1
chroot(8) - osx
Similar Topics in the Unix Linux Community
What is your favorite Linux distro?
What do you do for a living?
Quiz/Testing System - Exam Admin Development
How Do I FTP System Files to Different Server?
Notes with Ravinder on Badging System Development Part II