[5890] in Athena Bugs

home help back first fref pref prev next nref lref last post

vax 7.1H: system(3)

daemon@ATHENA.MIT.EDU (brlewis@ATHENA.MIT.EDU)
Wed Aug 29 11:28:30 1990

From: brlewis@ATHENA.MIT.EDU
To: doc-bugs@ATHENA.MIT.EDU
Date: Wed, 29 Aug 90 11:28:14 EDT

System name:		orthanc
Type and version:	CVAXSTAR 7.1H (1 update(s) to same version)
Display type:		SM

What were you trying to do?
	Examine the exit status of system().

What's wrong:
	The man page gives misinformation regarding the exit status.
Right now it claims that system(string) returns the exit status of the
shell or 127 if the shell couldn't be executed.

What should have happened:
	The man page should explain that if ret = system(string), then
(ret >> 8) returns the exit status of the shell or 127 if the shell
couldn't be executed.

Please describe any relevant documentation references:
	system(3)

home help back first fref pref prev next nref lref last post