Date: Tue, 18 Jan 2005 20:15:18 +0000 From: Steven Smith <sos22@cantab.net> To: Keith Bottner <keith@barkinglizards.com> Cc: sos22@srcf.ucam.org Subject: Re: What is __BSD_VISIBLE for? Message-ID: <20050118201518.GA7786@archibold> In-Reply-To: <20050118193319.8E5F143D5C@mx1.FreeBSD.org> References: <41ED5941.4000500@nbritton.org> <20050118193319.8E5F143D5C@mx1.FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > __BSD_VISIBLE is throughout the system header files that are located at > sys/sys, specifically I am looking at the msg.h file and the struct mymsg; > however, I have noticed this in quite a few other places and I was hoping > that someone out there would know what its use is? There are a few features which are traditional for BSD systems, but whcih are incompatible with e.g. POSIX. These tend to be hidden behind #ifdef __BSD_VISIBLE, so that programs only see them if they want them. __BSD_VISIBLE is #define's automatically by sys/cdefs.h, but you can disable that with a special option to gcc (-traditional, I think). Steven. >=20 > Keith >=20 > -----Original Message----- > From: owner-freebsd-newbies@freebsd.org > [mailto:owner-freebsd-newbies@freebsd.org] On Behalf Of Nikolas Britton > Sent: Tuesday, January 18, 2005 12:45 PM > To: Keith Bottner > Cc: 'Freebsd-Newbies@Freebsd. Org' > Subject: Re: What is __BSD_VISIBLE for? >=20 > Keith Bottner wrote: >=20 > >I have noticed that __BSD_VISIBLE is used through out the sys headers.= =20 > >What is this used to distinguish between? Anyone? Where is it set? Or=20 > >where should it be set? > >=20 > >Keith > > > > =20 > > > hu? > _______________________________________________ > freebsd-newbies@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-newbies > To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org" >=20 > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.7.0 - Release Date: 1/17/2005 > =20 >=20 > --=20 > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.7.0 - Release Date: 1/17/2005 > =20 >=20 > _______________________________________________ > freebsd-newbies@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-newbies > To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org" --=20 One day, I'm going to get an Alice-bot to answer all my email for me, and see how long it takes people to notice. --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFB7W5WO4S8/gLNrjcRAvbZAJ4x2OnqK9NkdJDIwovKCEqsjGuHrgCfXdB4 Er5Gvn4ydhCTCyZ969DPGaE= =hVUz -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050118201518.GA7786>