#include #include #include int main() { struct stat buf; int status = stat("foo", &buf); return 0; }