This shows you the differences between two versions of the page.
pc:laboratoare:01 [2022/02/28 16:27] mihai_drosi.caju [Exerciții] |
pc:laboratoare:01 [2022/03/02 16:32] (current) radu.ciobanu [4. Noțiuni generale C/C++] Reparat headerele din exemplu |
||
---|---|---|---|
Line 127: | Line 127: | ||
#include <unistd.h> /* pentru open(), exit() */ | #include <unistd.h> /* pentru open(), exit() */ | ||
#include <fcntl.h> /* O_RDWR */ | #include <fcntl.h> /* O_RDWR */ | ||
- | #include <errno.h> /* perror() */ | + | #include <stdio.h> /* perror() */ |
+ | #include <errno.h> | ||
+ | #include <stdlib.h> | ||
void fatal(char * mesaj_eroare) | void fatal(char * mesaj_eroare) |