Macros
ms_stat.h File Reference
#include <sys/stat.h>
Include dependency graph for ms_stat.h:

Go to the source code of this file.

Macros

#define __S_ISTYPE(mode, mask)   (((mode) & S_IFMT) == (mask))
 
#define S_ISBLK(mode)   __S_ISTYPE((mode), S_IFBLK)
 
#define S_ISCHR(mode)   __S_ISTYPE((mode), S_IFCHR)
 
#define S_ISDIR(mode)   __S_ISTYPE((mode), S_IFDIR)
 
#define S_ISREG(mode)   __S_ISTYPE((mode), S_IFREG)
 

Macro Definition Documentation

◆ __S_ISTYPE

#define __S_ISTYPE (   mode,
  mask 
)    (((mode) & S_IFMT) == (mask))

Definition at line 15 of file ms_stat.h.

◆ S_ISBLK

#define S_ISBLK (   mode)    __S_ISTYPE((mode), S_IFBLK)

Definition at line 19 of file ms_stat.h.

◆ S_ISCHR

#define S_ISCHR (   mode)    __S_ISTYPE((mode), S_IFCHR)

Definition at line 18 of file ms_stat.h.

◆ S_ISDIR

#define S_ISDIR (   mode)    __S_ISTYPE((mode), S_IFDIR)

Definition at line 17 of file ms_stat.h.

◆ S_ISREG

#define S_ISREG (   mode)    __S_ISTYPE((mode), S_IFREG)

Definition at line 20 of file ms_stat.h.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:51