Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!brl-tgr!tgr!gwyn@BRL.ARPA From: gwyn@BRL.ARPA (VLD/VMB) Newsgroups: net.unix-wizards Subject: Re: SHMOP (SYSV) Message-ID: <2343@brl-tgr.ARPA> Date: Wed, 23-Oct-85 08:22:31 EDT Article-I.D.: brl-tgr.2343 Posted: Wed Oct 23 08:22:31 1985 Date-Received: Thu, 24-Oct-85 08:31:20 EDT Sender: news@brl-tgr.ARPA Lines: 8 char *sbrk( int incr ); also returns -1 (presumably this really means (char *)-1) on failure. This is a holdover from the good old days of PDP-11 UNIX; it really ought to be NULL also. (There is some hilarious code in a few SVR2 utilities that checks the return of malloc() for -1. Fixed at BRL.)