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.

8 lines
210 B

1 year ago
#include <stdio.h>
#include <unistd.h>
void main(){
__pid_t id_actual, id_padre;
id_actual = getpid();
id_padre = getppid();
printf("Mi PID es: %d y el PID de mi papa es: %d\n", id_actual, id_padre);
}

Powered by INFORMATICA.FP.EDU.ES.