diff options
Diffstat (limited to 'src/lib/libc/stdlib/atexit.3')
| -rw-r--r-- | src/lib/libc/stdlib/atexit.3 | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/lib/libc/stdlib/atexit.3 b/src/lib/libc/stdlib/atexit.3 index 07de054d3c..5d79ede649 100644 --- a/src/lib/libc/stdlib/atexit.3 +++ b/src/lib/libc/stdlib/atexit.3 | |||
| @@ -33,8 +33,7 @@ | |||
| 33 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 33 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 34 | .\" SUCH DAMAGE. | 34 | .\" SUCH DAMAGE. |
| 35 | .\" | 35 | .\" |
| 36 | .\" from: @(#)atexit.3 5.3 (Berkeley) 6/29/91 | 36 | .\" $OpenBSD: atexit.3,v 1.4 2000/04/20 13:50:01 aaron Exp $ |
| 37 | .\" $Id: atexit.3,v 1.1.1.1 1995/10/18 08:42:16 deraadt Exp $ | ||
| 38 | .\" | 37 | .\" |
| 39 | .Dd June 29, 1991 | 38 | .Dd June 29, 1991 |
| 40 | .Dt ATEXIT 3 | 39 | .Dt ATEXIT 3 |
| @@ -49,13 +48,12 @@ | |||
| 49 | .Sh DESCRIPTION | 48 | .Sh DESCRIPTION |
| 50 | The | 49 | The |
| 51 | .Fn atexit | 50 | .Fn atexit |
| 52 | function | 51 | function registers the given |
| 53 | registers the given | 52 | .Fa function |
| 54 | .Ar function | ||
| 55 | to be called at program exit, whether via | 53 | to be called at program exit, whether via |
| 56 | .Xr exit 3 | 54 | .Xr exit 3 |
| 57 | or via return from the program's | 55 | or via return from the program's |
| 58 | .Em main . | 56 | .Fn main . |
| 59 | Functions so registered are called in reverse order; | 57 | Functions so registered are called in reverse order; |
| 60 | no arguments are passed. | 58 | no arguments are passed. |
| 61 | At least 32 functions can always be registered, | 59 | At least 32 functions can always be registered, |
| @@ -73,6 +71,5 @@ The existing list of functions is unmodified. | |||
| 73 | .Sh STANDARDS | 71 | .Sh STANDARDS |
| 74 | The | 72 | The |
| 75 | .Fn atexit | 73 | .Fn atexit |
| 76 | function | 74 | function conforms to |
| 77 | conforms to | ||
| 78 | .St -ansiC . | 75 | .St -ansiC . |
