🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #5198

Re: switch (expression)

#5198
From: Richard Harter
Date: Fri, 15 Jul 1988 14:50
16 lines
1123 bytes
In article <Jul.15.08.40.53.1988.20506@topaz.rutgers.edu> ron@topaz.rutgers.edu (Ron Natalie) writes:
>Brk and sbrk are not part of C.  They shouldn't even be part
>of UNIX.  You can't write portable code with them.  The concept
>of a single linear address space for data and another for subroutine
>linkage is not a universal concept.  Use Malloc.

	And, as noted in ~.lang.c by others, if you don't like malloc,
and want to write your own, use malloc as your primitive to get space 
from the system. 


-- 

In the fields of Hell where the grass grows high
Are the graves of dreams allowed to die.
	Richard Harter, SMDS  Inc.
Technical Details
Message-ID: <30957@cca.CCA.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!yale!husc6!cca!g-rh
References: <1988Jul12.105547.13268@light.uucp> <755@vsi.UUCP> <59881@sun.uucp> <19876@watmath.waterloo.edu> <Jul.15.08.40.53.1988.20506@topaz.rutgers.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!yale!husc6!cca!g-rh
From: g-rh@cca.CCA.COM (Richard Harter)
Newsgroups: comp.std.c
Subject: Re: switch (expression)
Message-ID: <30957@cca.CCA.COM>
Date: 15 Jul 88 14:50:38 GMT
References: <1988Jul12.105547.13268@light.uucp> <755@vsi.UUCP> <59881@sun.uucp> <19876@watmath.waterloo.edu> <Jul.15.08.40.53.1988.20506@topaz.rutgers.edu>
Reply-To: g-rh@CCA.CCA.COM (Richard Harter)
Organization: Computer Corp. of America, Cambridge, MA
Lines: 16