|
From: Nicholas N. <nj...@ca...> - 2004-10-10 17:37:04
|
On Sun, 10 Oct 2004, Igmar Palsenberg wrote: > I was confused by the manual page of brk(), since that indicates brk() > returning -1 is things fail. Looking at the kernel code, brk() failing > just returns the current data segment border. Yes, it's one of the times when the kernel syscall and the glibc wrapper diverge significantly in behaviour. The man page describes the glibc version. I think getcwd() is another such example. N |