_EXIT

Section: ¸®´ª½º ÇÁ·Î±×·¡¸Ó ¸Å´º¾ó (2)
Updated: 1993³â 7¿ù 21ÀÏ
Index
Return to Main Contents
 

À̸§

_exit - ÇöÀç ÇÁ·Î¼¼½º¸¦ Á¾·á½ÃŲ´Ù.  

»ç¿ë¹ý

#include <unistd.h>

void _exit(int status);  

¼³¸í

_exit´Â È£ÃâÇÑ ÇÁ·Î¼¼½º¸¦ Áï½Ã Á¾·á½ÃŲ´Ù. ÀÌ ÇÁ·Î¼¼½ºÀÇ ¸ðµç ¿ÀÇ ÆÄÀÏ µð½ºÅ©¸³ÅÍ°¡ ´ÝÈù´Ù; ÀÌ ÇÁ·Î¼¼½ºÀÇ ¸ðµç ÀÚ½Ä ÇÁ·Î¼¼½º ºÎ¸ð´Â 1¹ø ÇÁ·Î¼¼½º initÀ¸·Î ¹Ù²î°í, ÀÌ ÇÁ·Î¼¼½ºÀÇ ºÎ¸ð¿¡°Ô SIGCHLD ½Ã±×³ÎÀÌ ÀüÇØÁø´Ù.

status´Â ÇÁ·Î¼¼½ºÀÇ Á¾·á »óÅ°ªÀ¸·Î ºÎ¸ð ÇÁ·Î¼¼½º¿¡°Ô ¹ÝȯµÈ´Ù. ÀÌ´Â wait °è¿­ÀÇ ÇÔ¼ö¸¦ È£ÃâÇÏ¿© ¾Ë¾Æ³¾ ¼ö ÀÖ´Ù.  

¹Ýȯ°ª

_exit´Â °áÄÚ ¸®ÅÏÇÏÁö ¾Ê´Â´Ù.  

ȣȯ

SVr4, SVID, POSIX, X/OPEN, BSD 4.3  

ÁÖÀÇ

_exit´Â ANSI C atexitÇÔ¼ö·Î µî·ÏÇÑ ¾î¶² ÇÔ¼öµµ È£ÃâÇÏÁö ¾Ê°í, Ç¥ÁØ ÀÔÃâ·Â ¹öÆÛ¸¦ ºñ¿ìÁö ¾Ê´Â´Ù. ÀÌ·± °ÍµéÀ» Çϱâ À§Çؼ­´Â exit(3)À» »ç¿ëÇ϶ó. exit(3).  

°ü·Ã Ç׸ñ

fork(2), execve(2), waitpid(2), wait4(2), kill(2), wait(2), exit(3)  

¿ªÀÚ

ÀÓÁ¾±Õ <hermes44@secsm.org>, 2000³â 4¿ù 14ÀÏ


 

Index

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

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