NULL etc.
00704a-Liber
nevin1 at ihlpf.ATT.COM
Wed Jul 6 14:23:58 AEST 1988
In article <1315 at ark.cs.vu.nl> maart at cs.vu.nl (Maarten Litmaath) writes:
>In article <12290 at mimsy.UUCP> chris at mimsy.UUCP (Chris Torek) writes:
>\ void execl(char *, ...);
>Doesn't execl() return int anymore? With the cause of the failure in errno?
It still does (at least according to my System V manual); as a matter of
fact, the ONLY value it can return is -1.
More to the point: why would you want to check the return value of
exec()? The only way it can return to the calling process is if an error
occurs, so why check the return value? It seems like a waste of code.
--
_ __ NEVIN J. LIBER ..!ihnp4!ihlpf!nevin1 (312) 510-6194
' ) ) You are in a twisty maze of little
/ / _ , __o ____ email paths, all different.
/ (_</_\/ <__/ / <_ These are solely MY opinions, not AT&T's, blah blah blah
More information about the Comp.lang.c
mailing list