projects
/
gnulib.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Include unlocked-io.h.
[gnulib.git]
/
lib
/
atexit.c
1
/* Wrapper to implement ANSI C's atexit using SunOS's on_exit. */
2
/* This function is in the public domain. --Mike Stump. */
3
4
#include "config.h"
5
6
int
7
atexit(f)
8
void (*f)();
9
{
10
/* If the system doesn't provide a definition for atexit, use on_exit
11
if the system provides that. */
12
on_exit (f, 0);
13
return 0;
14
}