🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #5208

Re: casting int constants to pointers (was: switch (expression))

#5208
From: Karl Heuer
Date: Mon, 18 Jul 1988 15:59
11 lines
1047 bytes
[karl@haddock writes:]
>Neither sbrk() nor shmop() is part of the ANSI C library.  I hope POSIX will
>fix this.

As soon as I sent this, I realized it was misworded.  What I meant was "I hope
that the appropriate POSIX committee will (or did) fix the (char *)-1 problem
for sbrk() and shmat(), just as X3J11 fixed it for signal()".  (I'm assuming
that sbrk() and shmat() are within the POSIX jurisdiction.  They certainly
aren't in X3J11's.)

Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint
Technical Details
Message-ID: <5253@haddock.ISC.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!rutgers!ucla-cs!sm.unisys.com!ism780c!haddock!karl
References: <1988Jul12.105547.13268@light.uucp> <755@vsi.UUCP> <59881@sun.uucp> <5153@haddock.ISC.COM> <977@garth.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!rutgers!ucla-cs!sm.unisys.com!ism780c!haddock!karl
From: karl@haddock.ISC.COM (Karl Heuer)
Newsgroups: comp.std.c
Subject: Re: casting int constants to pointers (was: switch (expression))
Message-ID: <5253@haddock.ISC.COM>
Date: 18 Jul 88 15:59:07 GMT
References: <1988Jul12.105547.13268@light.uucp> <755@vsi.UUCP> <59881@sun.uucp> <5153@haddock.ISC.COM> <977@garth.UUCP>
Reply-To: karl@haddock.ima.isc.com (Karl Heuer)
Organization: Interactive Systems, Boston
Lines: 11