Searched refs:test_stat (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dtest.c49 # define isapipe(f,p) (test_stat(f,p)>=0&&S_ISFIFO((p)->st_mode)||S_ISSOCK((p)->st_mode)&&(p)->st_ino&&((p)->st_mode&(S_IRUSR|S_IWUSR))!=(S_IRUSR|S_IWUSR))
51 # define isapipe(f,p) (test_stat(f,p)>=0&&S_ISFIFO((p)->st_mode)||S_ISSOCK((p)->st_mode)&&(p)->st_ino)
54 # define isapipe(f,p) (test_stat(f,p)>=0&&S_ISFIFO((p)->st_mode)||S_ISSOCK((p)->st_mode)&&(p)->st_ino)
56 # define isasock(f,p) (test_stat(f,p)>=0&&S_ISSOCK((p)->st_mode))
58 # define isapipe(f,p) (test_stat(f,p)>=0&&S_ISFIFO((p)->st_mode))
64 static int test_stat(const char*, struct stat*);
340 return(test_stat(arg,&statb)>=0 && S_ISDIR(statb.st_mode));
342 return(test_stat(arg,&statb)>=0 && S_ISCHR(statb.st_mode));
344 return(test_stat(arg,&statb)>=0 && S_ISBLK(statb.st_mode));
346 return(test_stat(ar
652 static int test_stat(const char *name,struct stat *buff) function
[all...]
/illumos-gate/usr/src/boot/sys/boot/userboot/test/
H A Dtest.c226 test_stat(void *arg, void *h, int *mode_return, int *uid_return, int *gid_return, function
393 .stat = test_stat,

Completed in 45 milliseconds