Annoying prototypes for execv* functions in V.4 <sys/unistd.h>
Ron Guilmette
rfg at NCD.COM
Sun Feb 3 10:09:20 AEST 1991
In article <1991Jan31.174039.17973 at cbnewsl.att.com> sethr at cbnewsl.att.com (seth.r.rosenthal) writes:
+In article <3598 at lupine.NCD.COM>, rfg at lupine.ncd.com (Ron Guilmette) writes:
+> If you use and/or sell System V Release 4 you may want to fix up your
+> <sys/unistd.h> file.
+>
+> It probably contains:
+>
+> extern int execv(const char *, char *const *);
+> extern int execve(const char *, char *const *, char *const *);
+> extern int execvp(const char *, char *const *);
+>
+
+These prototypes come right out of 1003.1-1990. That
+is why they are in SVR4.
I stand corrected. Apparently there *is* some POSIX document that says
that those prototypes are correct.
Now if somebody would just tell me where I can get a copy of this mythical
document...
Is it a draft or an approved document? What's its ISBN #?
--
// Ron Guilmette - C++ Entomologist
// Internet: rfg at ncd.com uucp: ...uunet!lupine!rfg
// Motto: If it sticks, force it. If it breaks, it needed replacing anyway.
More information about the Comp.bugs.sys5
mailing list