🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #2742

Re: ANSI C standard library

#2742
From: Barry Margolin
Date: Fri, 12 Apr 1991 08:25
17 lines
1260 bytes
In article <1991Apr11.185038.108@cpqhou.uucp> uunet!cpqhou!pipkinsj (Jeff Pipkins @Adv Dev@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@think.com
{uunet,harvard}!think!barmar
Technical Details
Message-ID: <1991Apr12.082527.20618@Think.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!barmar
References: <1991Apr11.185038.108@cpqhou.uucp>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!barmar
From: barmar@think.com (Barry Margolin)
Subject: Re: ANSI C standard library
Message-ID: <1991Apr12.082527.20618@Think.COM>
Sender: news@Think.COM
Organization: Thinking Machines Corporation, Cambridge MA, USA
References: <1991Apr11.185038.108@cpqhou.uucp>
Date: Fri, 12 Apr 91 08:25:27 GMT