From ee394477fa14022a5a73a00dc5a900047a695080 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 5 Dec 2008 11:08:38 -0500 Subject: [PATCH] atexit.3: The same exit handler may be registered multiple times Signed-off-by: Michael Kerrisk --- man3/atexit.3 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/man3/atexit.3 b/man3/atexit.3 index 0f271f9c5..8ca87f69c 100644 --- a/man3/atexit.3 +++ b/man3/atexit.3 @@ -46,6 +46,9 @@ called at normal process termination, either via or via return from the program's \fImain\fP(). Functions so registered are called in the reverse order of their registration; no arguments are passed. + +The same function may be registered multiple times: +it is called once for each registration. .LP POSIX.1-2001 requires that an implementation allow at least .B ATEXIT_MAX