Lines Matching refs:mode
16 fssh_mode_t fssh_st_mode; /* mode bits (rwx for user, group, etc) */
70 #define FSSH_S_ISREG(mode) (((mode) & FSSH_S_IFMT) == FSSH_S_IFREG)
71 #define FSSH_S_ISLNK(mode) (((mode) & FSSH_S_IFMT) == FSSH_S_IFLNK)
72 #define FSSH_S_ISBLK(mode) (((mode) & FSSH_S_IFMT) == FSSH_S_IFBLK)
73 #define FSSH_S_ISDIR(mode) (((mode) & FSSH_S_IFMT) == FSSH_S_IFDIR)
74 #define FSSH_S_ISCHR(mode) (((mode) & FSSH_S_IFMT) == FSSH_S_IFCHR)
75 #define FSSH_S_ISFIFO(mode) (((mode) & FSSH_S_IFMT) == FSSH_S_IFIFO)
76 #define FSSH_S_ISINDEX(mode) (((mode) & FSSH_S_INDEX_DIR) == FSSH_S_INDEX_DIR)
103 /* default file mode, everyone can read/write */
109 extern int fssh_chmod(const char *path, fssh_mode_t mode);
110 extern int fssh_fchmod(int fd, fssh_mode_t mode);
111 extern int fssh_mkdir(const char *path, fssh_mode_t mode);
112 extern int fssh_mkfifo(const char *path, fssh_mode_t mode);