1 2 3 4 5 6 7 8 9 10 11
#include "sys/types.h" #include <sys/stat.h> int fstat(int fildes, struct stat *buf) { (void)fildes; (void)buf; return 0; } /* POSIX(1) */