GETPID

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

À̸§

getpid, getppid - ÇÁ·Î¼¼½º ½Äº°°ª(identification)À» ¾ò´Â´Ù.  

»ç¿ë¹ý

#include <unistd.h>

pid_t getpid(void);
pid_t getppid(void);  

¼³¸í

getpid´Â ÇöÀç ÇÁ·Î¼¼½ºÀÇ ÇÁ·Î¼¼½º ID¸¦ µ¹·ÁÁØ´Ù. (ÀÌ°ÍÀº À¯ÀÏÇÑ Àӽà ÆÄÀÏ À̸§À» ¸¸µå´Â ·çƾ¿¡¼­ Á¾Á¾ »ç¿ëµÈ´Ù.)

getppid´É ÇöÀç ÇÁ·Î¼¼½ºÀÇ ºÎ¸ð ÇÁ·Î¼¼½º ID¸¦ µ¹·ÁÁØ´Ù.  

ȣȯ

POSIX, BSD 4.3, SVID  

°ü·Ã Ç׸ñ

exec(3), fork(2), kill(2), mkstemp(3), tmpnam(3), tempnam(3), tmpfile(3)  

¿ªÀÚ

ÃÖÀ±¿ë <markboy@secsm.org>, 2000³â 4¿ù 22ÀÏ


 

Index

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

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