casting int constants to pointers (was: switch (expression))

Steven Ryan smryan at garth.UUCP
Sat Jul 16 06:23:57 AEST 1988


>Neither sbrk() nor shmop() is part of the ANSI C library.  I hope POSIX will
>fix this.

Because ANSI is defining a language, not an operating system.

A Cyber 205 doesn't need sbrk -- refer to a word and it exists, regardless
of its address. And it can't use shmop -- only the site defined shared library
pages can be shared (in read/execute mode).  (Not that 205 is all that great
or VectorC that well known, but it does provide a concrete example.)



More information about the Comp.std.c mailing list