#include #include #include int main( int argc, char* argv[] ) { struct stat s; int ret = stat(argv[1], &s); printf("%d\n", ret); return 0; }