parent
b072c40137
commit
964ff6f864
@ -1,9 +0,0 @@
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
void main(void) {
|
||||
__pid_t id_actual, id_padre;
|
||||
id_actual = getpid();
|
||||
id_padre = getppid();
|
||||
printf("Mi PID es: %d\n", id_actual);
|
||||
printf("El PID de mi papa es: %d\n", id_padre);
|
||||
}
|
Loading…
Reference in new issue