Update 29-09

master
FosanzDev 12 months ago
parent a82c1e5224
commit b8354eeec4

@ -0,0 +1,8 @@
#include <stdio.h>
#include <unistd.h>
void main() {
printf("Ejemplo de uso de excel():");
printf("\n\tListado del directorio actual:");
execl("/bin/ls","ls","-l", (char *)NULL);
printf("\nEsta instrucción no se llega a ejecutar");
}

Binary file not shown.

Binary file not shown.

@ -0,0 +1,9 @@
#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);
}
Loading…
Cancel
Save

Powered by INFORMATICA.FP.EDU.ES.