POSIX.2 system() return values

Rich Stevens rstevens at noao.edu
Fri Mar 22 23:44:55 AEST 1991


Submitted-by: rstevens at noao.edu (Rich Stevens)

Does anyone know the current draft status of POSIX.2 with regard to
the system() function and its return code.  I see that SVR4 now
returns -1 on an error (fork, exec, or wait error) while Reno
still returns the exit status of 127.  Is -1 a valid return
value--that is, are -1 and the valid wait() and waitpid() exit
statuses mutually exclusive?

	Rich Stevens  (rstevens at noao.edu)


Volume-Number: Volume 23, Number 17



More information about the Comp.std.unix mailing list