NULL etc.
Chris Torek
chris at mimsy.UUCP
Wed Jul 6 10:40:58 AEST 1988
>In article <12290 at mimsy.UUCP> I wrote
>> void execl(char *, ...);
In article <1315 at ark.cs.vu.nl> maart at cs.vu.nl (Maarten Litmaath) asks:
>Doesn't execl() return int anymore? With the cause of the failure in errno?
Well, actually, yes; but it only ever returns -1, so declaring it
as `int' is somewhat pointless---the value is even less useful than
that from, e.g., strcpy().
--
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain: chris at mimsy.umd.edu Path: uunet!mimsy!chris
More information about the Comp.lang.c
mailing list