* Copyright (c) 1990 The Regents of the University of California.
* %sccs.include.redist.c%
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid
[] = "@(#)exit.c 5.4 (Berkeley) %G%";
#endif /* LIBC_SCCS and not lint */
* Exit, flushing stdio buffers if necessary.
register struct atexit
*p
;
for (p
= __atexit
; p
; p
= p
->next
)
for (n
= p
->ind
; --n
>= 0;)