Path: utzoo!utgpu!water!watmath!clyde!rutgers!rochester!cornell!batcomputer!sun!nelson From: nelson@sun.soe.clarkson.edu (Russ Nelson) Newsgroups: comp.sys.ibm.pc Subject: bug in Turbo C 1.5's brk() Message-ID: <267@sun.soe.clarkson.edu> Date: 26 Jan 88 14:10:13 GMT Reply-To: nelson@sun.soe.clarkson.edu.UUCP (Russ Nelson) Organization: Clarkson University, Potsdam, NY Lines: 5 Be warned that Turbo C 1.0 AND 1.5's brk function returns "the wrong thing". On success, TC's brk() returns the new break level, while the manual insists that it should (and Unix's brk() does) return 0. The error return, -1, is correct. -russ