fs_shell: Added socket filetype.
Signed-off-by: Augustin Cavalier <[email protected]>
This commit is contained in:
@@ -1277,13 +1277,14 @@
|
||||
#define S_LINK_AUTO_DELETE FSSH_S_LINK_AUTO_DELETE
|
||||
|
||||
/* standard file types */
|
||||
#define S_IFMT FSSH_S_IFMT
|
||||
#define S_IFLNK FSSH_S_IFLNK
|
||||
#define S_IFREG FSSH_S_IFREG
|
||||
#define S_IFBLK FSSH_S_IFBLK
|
||||
#define S_IFDIR FSSH_S_IFDIR
|
||||
#define S_IFCHR FSSH_S_IFCHR
|
||||
#define S_IFIFO FSSH_S_IFIFO
|
||||
#define S_IFMT FSSH_S_IFMT
|
||||
#define S_IFSOCK FSSH_S_IFSOCK
|
||||
#define S_IFLNK FSSH_S_IFLNK
|
||||
#define S_IFREG FSSH_S_IFREG
|
||||
#define S_IFBLK FSSH_S_IFBLK
|
||||
#define S_IFDIR FSSH_S_IFDIR
|
||||
#define S_IFCHR FSSH_S_IFCHR
|
||||
#define S_IFIFO FSSH_S_IFIFO
|
||||
|
||||
#define S_ISREG(mode) FSSH_S_ISREG(mode)
|
||||
#define S_ISLNK(mode) FSSH_S_ISLNK(mode)
|
||||
|
||||
@@ -59,6 +59,7 @@ typedef struct fssh_stat fssh_struct_stat;
|
||||
|
||||
/* standard file types */
|
||||
#define FSSH_S_IFMT 00000170000 /* type of file */
|
||||
#define FSSH_S_IFSOCK 00000140000 /* socket */
|
||||
#define FSSH_S_IFLNK 00000120000 /* symbolic link */
|
||||
#define FSSH_S_IFREG 00000100000 /* regular */
|
||||
#define FSSH_S_IFBLK 00000060000 /* block special */
|
||||
|
||||
Reference in New Issue
Block a user