Re: Structure Pointer
- From: richard@xxxxxxxxxxxxxxx (Richard Tobin)
- Date: 24 Feb 2007 03:18:19 GMT
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.
.
- References:
- Structure Pointer
- From: RAKHE
- Re: Structure Pointer
- From: Keith Thompson
- Re: Structure Pointer
- From: Ben Pfaff
- Re: Structure Pointer
- From: Keith Thompson
- Structure Pointer
- Prev by Date: Re: Is #elif portable?
- Next by Date: Re: #include behavior
- Previous by thread: Re: Structure Pointer
- Next by thread: Re: Structure Pointer
- Index(es):