Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
stat.h File Reference

Go to the source code of this file.

Data Structures

struct  stat
 

Macros

#define S_IRWXU   00700
 
#define S_IRUSR   00400
 
#define S_IWUSR   00200
 
#define S_IXUSR   00100
 
#define S_IRWXG   00070
 
#define S_IRGRP   00040
 
#define S_IWGRP   00020
 
#define S_IXGRP   00010
 
#define S_IRWXO   00007
 
#define S_IROTH   00004
 
#define S_IWOTH   00002
 
#define S_IXOTH   00001
 
#define O_ACCMODE   0003
 
#define O_RDONLY   00
 
#define O_WRONLY   01
 
#define O_RDWR   02
 
#define SEEK_SET   0 /* Seek from beginning of file. */
 
#define SEEK_CUR   1 /* Seek from current position. */
 
#define SEEK_END   2 /* Seek from end of file. */
 

Macro Definition Documentation

◆ O_ACCMODE

#define O_ACCMODE   0003

◆ O_RDONLY

#define O_RDONLY   00

◆ O_RDWR

#define O_RDWR   02

◆ O_WRONLY

#define O_WRONLY   01

◆ S_IRGRP

#define S_IRGRP   00040

◆ S_IROTH

#define S_IROTH   00004

◆ S_IRUSR

#define S_IRUSR   00400

◆ S_IRWXG

#define S_IRWXG   00070

◆ S_IRWXO

#define S_IRWXO   00007

◆ S_IRWXU

#define S_IRWXU   00700

◆ S_IWGRP

#define S_IWGRP   00020

◆ S_IWOTH

#define S_IWOTH   00002

◆ S_IWUSR

#define S_IWUSR   00200

◆ S_IXGRP

#define S_IXGRP   00010

◆ S_IXOTH

#define S_IXOTH   00001

◆ S_IXUSR

#define S_IXUSR   00100

◆ SEEK_CUR

#define SEEK_CUR   1 /* Seek from current position. */

◆ SEEK_END

#define SEEK_END   2 /* Seek from end of file. */

◆ SEEK_SET

#define SEEK_SET   0 /* Seek from beginning of file. */