C problems
porges at inmet
porges at inmet
Sat Jun 3 03:37:00 AEST 1989
OK, nobody send me mail reminding me I'm wrong: I'm wrong. I was misled
by the section 3 routines, execl and execle, that are called as if you
put a series of string addresses on the stack. They call execve (on
Sun Unix, at least) which pass in argc, argv, and envp, which are one
integer and two pointers to pointers to characters. K&R version 1
explicitly states that char *x[] and char **x are identical IN FORMAL
PARAMETERS. Sorry to have cluttered -- I tried to delete my posting
but it was too late.
-- Don Porges
porges at inmet.com
{...mirror,ima}!inmet!porges
More information about the Comp.lang.c
mailing list