ANSI C standard library

Barry Margolin barmar at think.com
Fri Apr 12 18:25:27 AEST 1991


In article <1991Apr11.185038.108 at cpqhou.uucp> uunet!cpqhou!pipkinsj (Jeff Pipkins @Adv Dev at SE hou ) writes:
>I'm looking for an ANSI C implementation of the ANSI C standard library.

There are many functions in the standard C library that can't be
implemented in ANSI C, because they are interfaces to OS-dependent
facilities.  For instance, fopen() has to call something analogous to
Unix's open(), signal() has to do whatever is necessary to hook into the
system's interrupt mechanism, system() has to call a system-dependent
shell routine, and malloc() has to use the OS's memory management facility.

The math and string functions can be implemented portably, but they're
usually implemented in assembler for performance reasons.
--
Barry Margolin, Thinking Machines Corp.

barmar at think.com
{uunet,harvard}!think!barmar



More information about the Comp.std.c mailing list