[comp.sys.ibm.pc] bug in Turbo C 1.5's brk

nelson@sun.soe.clarkson.edu (Russ Nelson) (01/26/88)

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