Updating GetPid.c, because for pid_t you need #include <sys/types.h>

master
eric 12 months ago
parent 42d41e1d6e
commit 1742fbf832

@ -1,8 +1,9 @@
#include <unistd.h>
#include <stdio.h>
#include <sys/types.h>
void main(void) {
__pid_t id_actual, id_padre;
pid_t id_actual, id_padre;
id_actual = getpid();
id_padre = getppid();

Loading…
Cancel
Save

Powered by INFORMATICA.FP.EDU.ES.