Searched refs:S_ISFIFO (Results 1 - 15 of 15) sorted by relevance

/ast/src/lib/libast/comp/
H A Dmknod.c42 if (S_ISFIFO(mode))
/ast/src/lib/libast/string/
H A Dmodex.c68 else if (S_ISFIFO(i)) x |= X_IFIFO;
/ast/src/lib/libast/features/
H A Dmode.c85 #ifdef S_ISFIFO
86 if (!S_ISFIFO(X_IFIFO)) idtype = 0;
89 printf("#define S_ISFIFO(m) (S_ITYPE(m)==S_IFIFO)\n");
91 printf("#define S_ISFIFO(m) 0\n");
/ast/src/lib/libcs/
H A Dcspath.c37 #undef S_ISFIFO macro
38 #define S_ISFIFO(m) (((m)&S_IFMT)==S_IFIFO) macro
145 else if (S_ISFIFO(st.st_mode)) sfsprintf(state->path, sizeof(state->path), "/dev/pipe/%u", st.st_ino);
/ast/src/cmd/ie/
H A Dio.h58 # ifndef S_ISFIFO
59 # define S_ISFIFO(m) (((m)&S_IFMT)==S_IFIFO) macro
60 # endif /* S_ISFIFO */
/ast/src/cmd/ksh93/bltins/
H A Dtest.c50 # 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))
52 # define isapipe(f,p) (test_stat(f,p)>=0&&S_ISFIFO((p)->st_mode)||S_ISSOCK((p)->st_mode)&&(p)->st_ino)
55 # define isapipe(f,p) (test_stat(f,p)>=0&&S_ISFIFO((p)->st_mode)||S_ISSOCK((p)->st_mode)&&(p)->st_ino)
59 # define isapipe(f,p) (test_stat(f,p)>=0&&S_ISFIFO((p)->st_mode))
/ast/src/lib/libcmd/
H A Dtail.c126 #define FIFO(m) (S_ISFIFO(m)||S_ISSOCK(m))
128 #define FIFO(m) S_ISFIFO(m)
H A Dcp.c639 else if (S_ISBLK(ent->fts_statp->st_mode) || S_ISCHR(ent->fts_statp->st_mode) || S_ISFIFO(ent->fts_statp->st_mode))
/ast/src/lib/libast/sfio/
H A Dsfhdr.h593 #ifndef S_ISFIFO
595 # define S_ISFIFO(m) (((m)&S_IFMT) == S_IFIFO) macro
597 # define S_ISFIFO(m) (0) macro
/ast/src/lib/libdss/
H A Ddssfile.c173 if (sfsize(file->io) || !fstat(sffileno(file->io), &st) && (S_ISFIFO(st.st_mode)
/ast/src/lib/libpz/
H A Dpzopen.c168 * not implementation) for piped input; the S_ISFIFO
172 if (!fstat(sffileno(pz->io), &st) && S_ISFIFO(st.st_mode))
/ast/src/lib/libtksh/src/
H A Dfilecmd.c470 } else if (S_ISFIFO(mode)) {
/ast/src/cmd/tw/
H A Dexpr.c333 else if (S_ISFIFO(st->st_mode)) v.integer = C_FIFO;
/ast/src/lib/libtksh/tcl/
H A DtclCmdAH.c1120 } else if (S_ISFIFO(mode)) {
/ast/src/cmd/std/
H A Dls.c655 else if (S_ISFIFO(st->st_mode))

Completed in 39 milliseconds