main() and exit() (was: Strange lint mumblings)

Doug Gwyn gwyn at smoke.BRL.MIL
Sat Jan 7 10:47:02 AEST 1989


In article <8634 at bloom-beacon.MIT.EDU> scs at adam.pika.mit.edu (Steve Summit) writes:
>I frequently use another technique to keep executables small,
>which requires neither manipulation of library ordering nor
>atexit/onexit, and works fine in the presence of ranlib.

Your technique is equivalent to use of atexit(), but specialized to
support just STDIO.  (It is more efficient, though, and could be
used in addition to atexit() support inside exit().)



More information about the Comp.lang.c mailing list