ATEXIT

Section: Linux Programmer's Manual (3)
Updated: 14 September 1997
Index
Return to Main Contents
 

À̸§

atexit - Á¤»óÀûÀÎ ÇÁ·Î±×·¥ Á¾·á½Ã È£ÃâµÉ ÇÔ¼ö µî·Ï  

»ç¿ë¹ý

#include <stdlib.h>

int atexit(void (*function)(void));
 

¼³¸í

atexit()ÇÔ¼ö´Â exit(3) ¸¦ ÅëÇؼ­³ª, ÇÁ·Î±×·¥ÀÇ mainÀ¸·ÎºÎÅÍÀÇ ¹Ýȯ °ªÀ» ÅëÇؼ­ ÇÁ·Î±×·¥ÀÌ ³¡³µÀ» ¶§ È£Ãâ µÉ functionÀ» µî·ÏÇÏ´Â °ÍÀÌ´Ù. ±×·¸°Ô µî·ÏµÈ ÇÔ¼ö´Â ±×°ÍµéÀÌ µî·ÏµÈ ¹Ý´ë ¼ø¼­·Î È£ÃâµÈ´Ù; ¾î¶² º¯¼öµµ Áö³ªÄ¡Áö ¾Ê´Â´Ù.  

¹Ýȯ°ª

atexit()ÇÔ¼ö´Â ¼º°øÇßÀ» °æ¿ì 0À» ¹ÝȯÇÑ´Ù. ±×·¸Áö ¾ÊÀ¸¸é -1 °ªÀ» ¹ÝȯÇÑ´Ù; errno Àº ½ÇÇàµÇÁö ¾Ê´Â´Ù..  

ȣȯ

SVID 3, BSD 4.3, ISO 9899  

°ü·Ã Ç׸ñ

exit(3), on_exit(3)


 

Index

À̸§
»ç¿ë¹ý
¼³¸í
¹Ýȯ°ª
ȣȯ
°ü·Ã Ç׸ñ

This document was created by man2html, using the manual pages.
Time: 08:07:01 GMT, March 25, 2004