You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
213 B

12 months ago
#include <stdio.h>
#include <unistd.h>
void main() {
__pid_t id_actual, id_padre;
id_actual = getpid();
id_padre = getppid();
printf("Mi id es %d y el de mi padre es %d\n", id_actual, id_padre);
}

Powered by INFORMATICA.FP.EDU.ES.