Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2017 09:22:30 +0100
From:      Ed Schouten <ed@nuxi.nl>
To:        Eric van Gyzen <eric@vangyzen.net>
Cc:        Ngie Cooper <ngie@freebsd.org>, src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-stable@freebsd.org,  svn-src-stable-10@freebsd.org
Subject:   Re: svn commit: r313632 - in stable/10/contrib/netbsd-tests/lib/libc/gen: . posix_spawn
Message-ID:  <CABh_MKmbdvbW3c2w9AJ_S5syieM92oFQy%2BoBvbqCbp6ZkQiT3Q@mail.gmail.com>
In-Reply-To: <65538136-4b19-bc06-f3e0-302ef2fc2359@vangyzen.net>
References:  <201702110735.v1B7ZROH028648@repo.freebsd.org> <CABh_MKmYuP-Yb3VLJ3EOb1dODtHmN8uoSuytTrjTQm=C9iwuMw@mail.gmail.com> <65538136-4b19-bc06-f3e0-302ef2fc2359@vangyzen.net>

next in thread | previous in thread | raw e-mail | index | archive | help
2017-02-11 15:28 GMT+01:00 Eric van Gyzen <eric@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@nuxi.nl>
Nuxi, 's-Hertogenbosch, the Netherlands
KvK-nr.: 62051717



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABh_MKmbdvbW3c2w9AJ_S5syieM92oFQy%2BoBvbqCbp6ZkQiT3Q>