diff options
Diffstat (limited to 'lib/libc/stdlib/atexit.3')
-rw-r--r-- | lib/libc/stdlib/atexit.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdlib/atexit.3 b/lib/libc/stdlib/atexit.3 index 0b10f010fa0..cc37d08b00c 100644 --- a/lib/libc/stdlib/atexit.3 +++ b/lib/libc/stdlib/atexit.3 @@ -33,7 +33,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: atexit.3,v 1.2 1996/08/19 08:33:22 tholo Exp $ +.\" $OpenBSD: atexit.3,v 1.3 1999/06/29 18:36:18 aaron Exp $ .\" .Dd June 29, 1991 .Dt ATEXIT 3 @@ -50,11 +50,11 @@ The .Fn atexit function registers the given -.Ar function +.Fa function to be called at program exit, whether via .Xr exit 3 or via return from the program's -.Em main . +.Fn main . Functions so registered are called in reverse order; no arguments are passed. At least 32 functions can always be registered, |