Check that file exists: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
==[[C]]== |
==[[C]]== |
||
[[Category:C]] |
|||
#include <sys/types.h> |
#include <sys/types.h> |
||
#include <sys/stat.h> |
#include <sys/stat.h> |
||
#include <unistd.h> |
#include <unistd.h> |
||
int main(){ |
int main(){ |
||
struct stat file_stat; |
struct stat file_stat; |