Lines Matching refs:stat
43 # include <sys/stat.h>
383 struct stat st;
388 return ( stat (name, &st) == 0 && S_ISDIR (st.st_mode) );
398 struct stat st;
399 return ( stat (name, &st) == 0 && S_ISREG (st.st_mode) );
409 struct stat st;
410 if ( stat (name, &st) == -1 )
664 struct stat st;
666 if ( stat (fname, &st) < 0 )
683 struct stat st;
685 if ( stat (prog, &st) < 0 )