]> git.saurik.com Git - apple/libc.git/blob - stdlib/FreeBSD/atexit.3.patch
Libc-498.1.5.tar.gz
[apple/libc.git] / stdlib / FreeBSD / atexit.3.patch
1 --- _SB/Libc/stdlib/FreeBSD/atexit.3 2003-05-20 15:23:24.000000000 -0700
2 +++ _SB/Libc/stdlib/FreeBSD/atexit.3.edit 2006-06-28 16:55:52.000000000 -0700
3 @@ -47,13 +47,13 @@
4 .Sh SYNOPSIS
5 .In stdlib.h
6 .Ft int
7 -.Fn atexit "void (*function)(void)"
8 +.Fn atexit "void (*func)(void)"
9 .Sh DESCRIPTION
10 The
11 .Fn atexit
12 function
13 -registers the given
14 -.Fa function
15 +registers the function
16 +.Fa func
17 to be called at program exit, whether via
18 .Xr exit 3
19 or via return from the program's
20 @@ -71,8 +71,8 @@
21 process termination, for example by calling
22 .Xr abort 3 . )
23 .Pp
24 -At least 32 functions can always be registered,
25 -and more are allowed as long as sufficient memory can be allocated.
26 +At least 32 functions can always be registered;
27 +more are allowed as long as sufficient memory can be allocated.
28 .\" XXX {ATEXIT_MAX} is not implemented yet
29 .Sh RETURN VALUES
30 .Rv -std atexit