🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.codewarrior
Article #1353

Re: MSL C.PPC.Lib (pro 5 -> pro 6)

#1353
From: MWRon
Date: Tue, 31 Oct 2000 16:58
29 lines
2070 bytes
In article <TmBL5.1562$1E.121808@nntp1.onemain.com>, "David Williss"
<dwilliss@microimages.com> wrote:

>In fact, I see the problem he's talking about in the normal fcntl.h, not
>just
>the private one.  It proptotypes _open, _creat,  and _fcntl, then defines
>the correct names without underscores as inlines, but ONLY if POSIX
>is defined.  If you don't define POSIX, you don't get them at all.

Right this is how it should work,  if you wanted the same functionality
but did not want to define POSIX you could use the leading underscore
version.  (Leading underscores followed by lower case are reserved for
library vendors to avoid conflicts)

>Wait, you're saing open() _isn't_ ANSI?   Hmmmm... Sure enough.  Acording
>to the man page on my Linux system, open() conforms to SVr4, SVID,
>POSIX, X/OPEN and BSD 4.3.

Do you understand our reasoning now, if you don't agree with it please let
me know.

Ron

-- 
 "...we feel it's truly the best of the bunch."
Internet Week Reviews...Java Wars 2000
http://www.internetwk.com/reviews00/rev100200.htm

Metrowerks, "Software Starts Here" - Ron Liechty - MWRon@metrowerks.com
Technical Details
Message-ID: <mwron-3110001158090001@c243286-a.bcreek1.mi.home.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.stanford.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!mwron
References: <8tk79f$2lr$1@mserv2.dl.ac.uk> <mwron-3010001507480001@c243286-a.bcreek1.mi.home.com> <TmBL5.1562$1E.121808@nntp1.onemain.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bcce,9cbd3180af8f803b
X-Google-Attributes: gid10bcce,public
X-Google-Thread: f635e,9cbd3180af8f803b
X-Google-Attributes: gidf635e,public
X-Google-ArrivalTime: 2000-10-31 10:20:25 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.stanford.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!mwron
From: mwron@metrowerks.com (MWRon)
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac
Subject: Re: MSL C.PPC.Lib  (pro 5 -> pro 6)
Date: Tue, 31 Oct 2000 11:58:09 -0500
Organization: Metrowerks
Lines: 29
Message-ID: <mwron-3110001158090001@c243286-a.bcreek1.mi.home.com>
References: <8tk79f$2lr$1@mserv2.dl.ac.uk> <mwron-3010001507480001@c243286-a.bcreek1.mi.home.com> <TmBL5.1562$1E.121808@nntp1.onemain.com>
NNTP-Posting-Host: p-724.newsdawg.com
X-Newsreader: MT-NewsWatcher 2.4.4