|
|
1.1 ! root 1: .\" Copyright (c) 1983 Regents of the University of California. ! 2: .\" All rights reserved. The Berkeley software License Agreement ! 3: .\" specifies the terms and conditions for redistribution. ! 4: .\" ! 5: .\" @(#)system.3f 6.1 (Berkeley) 5/15/85 ! 6: .\" ! 7: .TH SYSTEM 3F "May 15, 1985" ! 8: .UC 5 ! 9: .SH NAME ! 10: system \- execute a \s-2UNIX\s0 command ! 11: .SH SYNOPSIS ! 12: .B integer function system (string) ! 13: .br ! 14: .B character*(*) string ! 15: .SH DESCRIPTION ! 16: .I System ! 17: causes ! 18: .I string ! 19: to be given to your shell ! 20: as input as if the string had been typed as a command. ! 21: If environment variable ! 22: .B SHELL ! 23: is found, its value will be used as the command interpreter (shell); ! 24: otherwise ! 25: .IR sh (1) ! 26: is used. ! 27: .PP ! 28: The current process waits until the command terminates. ! 29: The returned value will be the exit status of the shell. ! 30: See ! 31: .IR wait (2) ! 32: for an explanation of this value. ! 33: .SH FILES ! 34: .ie \nM /usr/ucb/lib/libU77.a ! 35: .el /usr/lib/libU77.a ! 36: .SH "SEE ALSO" ! 37: exec(2), wait(2), system(3) ! 38: .SH BUGS ! 39: .I String ! 40: can not be longer than NCARGS\-50 characters, as defined in ! 41: .RI < sys/param.h >.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.