From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 9472 invoked from network); 17 Aug 2020 22:47:55 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 17 Aug 2020 22:47:55 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id DC3919E18F; Tue, 18 Aug 2020 08:47:49 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 4B0DA9DFB4; Tue, 18 Aug 2020 08:47:12 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 1FEB39CAB3; Tue, 18 Aug 2020 08:47:10 +1000 (AEST) Received: from viclamta22p.bpe.bigpond.com (viclamta22p.bpe.bigpond.com [203.38.21.86]) by minnie.tuhs.org (Postfix) with ESMTPS id 356059C8BB for ; Tue, 18 Aug 2020 08:47:08 +1000 (AEST) Received: from smtp.telstra.com ([10.10.26.4]) by viclafep22p-svc.bpe.nexus.telstra.com.au with ESMTP id <20200817224706.WZYT22042.viclafep22p-svc.bpe.nexus.telstra.com.au@smtp.telstra.com> for ; Tue, 18 Aug 2020 08:47:06 +1000 X-RG-Spam: Unknown X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgeduiedruddthedguddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuuffpveftpgfvgffnuffvtfetpdfqfgfvnecuuegrihhlohhuthemucegtddtnecunecujfgurhepfffhvffujgfkfhgfgggtsehttddttddtredvnecuhfhrohhmpeffrghvvgcujfhorhhsfhgrlhhluceouggrvhgvsehhohhrshhfrghllhdrohhrgheqnecuggftrfgrthhtvghrnhepkeeiteejueeuhfefgeeuvdduieefvedugfevtdffkefhffejkefhuddtteehtefhnecukfhppeduuddtrddugedurdduleefrddvfeefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheprghnvghurhhinhdrhhhorhhsfhgrlhhlrdhorhhgpdhinhgvthepuddutddrudeguddrudelfedrvdeffedpmhgrihhlfhhrohhmpeeouggrvhgvsehhohhrshhfrghllhdrohhrgheqpdhrtghpthhtohepoehtuhhhshesthhuhhhsrdhorhhgqe X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean X-RG-VS-CLASS: clean Received: from aneurin.horsfall.org (110.141.193.233) by smtp.telstra.com (5.8.420) id 5E865EB517C2A478 for tuhs@tuhs.org; Tue, 18 Aug 2020 08:47:05 +1000 Received: from aneurin.horsfall.org (localhost [127.0.0.1]) by aneurin.horsfall.org (8.15.2/8.15.2) with ESMTP id 07HMl5Xc028266 for ; Tue, 18 Aug 2020 08:47:05 +1000 (EST) (envelope-from dave@horsfall.org) Received: from localhost (dave@localhost) by aneurin.horsfall.org (8.15.2/8.15.2/Submit) with ESMTP id 07HMl4bi028263 for ; Tue, 18 Aug 2020 08:47:05 +1000 (EST) (envelope-from dave@horsfall.org) X-Authentication-Warning: aneurin.horsfall.org: dave owned process doing -bs Date: Tue, 18 Aug 2020 08:47:04 +1000 (EST) From: Dave Horsfall To: The Eunuchs Hysterical Society In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21.9999 (BSF 287 2018-06-16) X-GPG-Public-Key: http://www.horsfall.org/gpgkey.pub X-GPG-Fingerprint: 05B4 FFBC 0218 B438 66E0 587B EF46 7357 EF5E F58B X-Home-Page: http://www.horsfall.org/ X-Witty-Saying: "chmod 666 the_mode_of_the_beast" MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: Re: [TUHS] Memory management in Dennis Ritchie's C Compiler X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On Mon, 17 Aug 2020, Dibyendu Majumdar wrote: > From Wikipedia: > sbrk and brk are considered legacy even by 1997 standards (Single UNIX > Specification v2 or POSIX.1-1998).[5] They were removed in > POSIX.1-2001.[6] On a whim, I checked a couple of boxes around here (I haven't used sbrk() since malloc() came along): Mac: The brk and sbrk functions are historical curiosities left over from ear- lier days before the advent of virtual memory management. FreeBSD: The brk() and sbrk() functions are legacy interfaces from before the advent of modern virtual memory management. Both of them come right after the DESCRIPTION header. -- Dave