svn commit: r313632 - in stable/10/contrib/netbsd-tests/lib/libc/gen: . posix_spawn
Ed Schouten
ed at nuxi.nl
Mon Feb 13 08:23:02 UTC 2017
2017-02-11 15:28 GMT+01:00 Eric van Gyzen <eric at vangyzen.net>:
> I would be concerned that app developers would read this definition, ignore
> the one in the man page, and use the __-prefixed types in their apps.
I think that's a concern that's not specific to the change at hand, as
that's simply how BSD header files work. Take a look at the
declaration of kill() in our copy of <signal.h>:
int kill(__pid_t, int);
This is simply the construct that the BSDs use to depend on a type
without exposing it.
--
Ed Schouten <ed at nuxi.nl>
Nuxi, 's-Hertogenbosch, the Netherlands
KvK-nr.: 62051717
More information about the svn-src-all
mailing list