Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Dec 2002 10:23:59 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        marc@informatik.uni-bremen.de
Cc:        mike@FreeBSD.ORG, freebsd-current@FreeBSD.ORG
Subject:   Re: sys/file.h and POSIX
Message-ID:  <20021209.102359.93815657.imp@bsdimp.com>
In-Reply-To: <619340000.1039364545@leeloo.intern.geht.de>
References:  <509390000.1039349835@leeloo.intern.geht.de> <20021208104335.E74206@espresso.q9media.com> <619340000.1039364545@leeloo.intern.geht.de>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <619340000.1039364545@leeloo.intern.geht.de>
            Marc Recht <marc@informatik.uni-bremen.de> writes:
: > Why are you specifying a standard and then using features outside its
: > scope?  Either you want a BSD environment (in which case don't specify
: The standard is specified to get the standard functions. Eg. if i specify 
: _POSIX_C_SOURCE=200112L then I want (for example) POSIX's flockfile, if the 
: OS supports POSIX. This doesn't mean that I don't want rpc.

Actually, yes it does.  When you specify a standard, you exclude all
things not in that standard.  It is a crap shoot if they work.  At
least that's how these _*_SOURCE macros have worked on all other
systems that I've used.

Warner

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021209.102359.93815657.imp>