Sync usage with man page.
[netbsd-mini2440.git] / gnu / dist / gettext / gettext-tools / lib / atexit.c
bloba401b2ff8c7dafdf9edf653c916b79710f8b3b57
1 /* Wrapper to implement ANSI C's atexit using SunOS's on_exit. */
2 /* This function is in the public domain. --Mike Stump. */
4 #include "config.h"
6 int
7 atexit (void (*f) (void))
9 /* If the system doesn't provide a definition for atexit, use on_exit
10 if the system provides that. */
11 on_exit (f, 0);
12 return 0;