bionic (2) getpid.2.gz

Provided by: manpages-es_1.55-10_all bug

NOMBRE

       getpid, getppid - obtiene el identificador de proceso

SINOPSIS

       #include <sys/types.h>
       #include <unistd.h>

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

DESCRIPCIÓN

       getpid  devuelve  el  identificador de proceso del proceso actual. (Esto es usado normalmente por rutinas
       que generan nombres únicos de ficheros temporales.)  getppid devuelve el  identificador  de  proceso  del
       padre del proceso actual.

CONFORME A

       POSIX, BSD 4.3, SVID

VÉASE TAMBIÉN

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