Page MenuHomeFreeBSD

system(3): Clarify return values
ClosedPublic

Authored by des on Tue, Feb 24, 1:44 PM.
Tags
None
Referenced Files
F146596208: D55483.id.diff
Tue, Mar 3, 11:19 PM
Unknown Object (File)
Mon, Mar 2, 1:19 PM
Unknown Object (File)
Sun, Mar 1, 2:24 PM
Unknown Object (File)
Sun, Mar 1, 7:11 AM
Unknown Object (File)
Sun, Mar 1, 3:33 AM
Unknown Object (File)
Sun, Mar 1, 2:25 AM
Unknown Object (File)
Fri, Feb 27, 7:10 AM
Unknown Object (File)
Fri, Feb 27, 12:11 AM
Subscribers

Details

Summary

Our manual page currently states that system() will return 127 if it
fails to execute the shell. The actual return value is, to quote POSIX,
“as if the command language interpreter had terminated using exit(127)
or _exit(127)”.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 70953
Build 67836: arc lint + arc unit