From owner-freebsd-newbies@FreeBSD.ORG Tue Jan 18 20:15:24 2005 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21B5E16A4CE for ; Tue, 18 Jan 2005 20:15:24 +0000 (GMT) Received: from ppsw-5.csi.cam.ac.uk (ppsw-5.csi.cam.ac.uk [131.111.8.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B4F543D58 for ; Tue, 18 Jan 2005 20:15:23 +0000 (GMT) (envelope-from sos22@cantab.net) Received: from hermes-1.csi.cam.ac.uk ([131.111.8.51]:47126 helo=archibold.nowhere) by ppsw-5.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.155]:25) with smtp id 1Cqzl1-0004Fu-GK (Exim 4.44) (return-path ); Tue, 18 Jan 2005 20:15:19 +0000 Received: by archibold.nowhere (sSMTP sendmail emulation); Tue, 18 Jan 2005 20:15:18 +0000 Date: Tue, 18 Jan 2005 20:15:18 +0000 From: Steven Smith To: Keith Bottner Message-ID: <20050118201518.GA7786@archibold> References: <41ED5941.4000500@nbritton.org> <20050118193319.8E5F143D5C@mx1.FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline In-Reply-To: <20050118193319.8E5F143D5C@mx1.FreeBSD.org> X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ X-Cam-AntiVirus: No virus found X-Cam-SpamDetails: Not scanned cc: 'Nikolas Britton' cc: "'Freebsd-Newbies@Freebsd. Org'" cc: sos22@srcf.ucam.org Subject: Re: What is __BSD_VISIBLE for? X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jan 2005 20:15:24 -0000 --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--