certain type mismatches

Chris Torek chris at mimsy.UUCP
Sat Jul 9 01:27:29 AEST 1988


In some article somewhere, I wrote:
>>... [execl] only ever returns -1, so declaring it as `int' is
>>somewhat pointless ...

In article <1988Jul7.141058.20804 at sq.uucp> msb at sq.uucp (Mark Brader) remarks:
>But "function returning int" and "function returning void" are different
>types. ...  int execl() and (void)execl(...); is what you must say.

True enough.  What I had meant to imply, though, was that the
definition of execl() could well be changed.  This is not something
that applies to ANSI X3J11, but rather to IEEE P1003.
-- 
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