Shared Lib Question (ISC)
Barry Margolin
barmar at think.com
Sat May 11 05:26:48 AEST 1991
In article <19255 at rpp386.cactus.org> jfh at rpp386.cactus.org (John F Haugh II) writes:
> Name a single library function
>which cannot be implemented well without global variables.
Malloc() needs a global variable that points to the arena.
Stdio uses the global variables stdin, stdout, and stderr.
Errno is a global variable, and some library routines set it.
--
Barry Margolin, Thinking Machines Corp.
barmar at think.com
{uunet,harvard}!think!barmar
More information about the Comp.unix.internals
mailing list