Re: Structure Pointer



In article <ln1wkg9vud.fsf@xxxxxxxxxxxxxxx>,
Keith Thompson <kst-u@xxxxxxx> wrote:

As a side note, in the 6th Edition kernel, brk was named sbreak,
with this comment above it:

bad planning: "break" is a dirty word in C.

Modern Unixish systems have both brk() and sbrk().

That was true in V6 too. But sbreak() in V6 was the system call used
by both of them. It corresponds more directly to brk() than sbrk().

You can see the code at
ftp://ftp.win.tue.nl/pub/home/aeb/unix-archive/UnixArchive/PDP-11/Trees/V6
in
usr/sys/ken/sys1.c
and
usr/source/s5/sbrk.s

-- Richard
--
"Consideration shall be given to the need for as many as 32 characters
in some alphabets" - X3.4, 1963.
.