| Samsung Internal API reference 2.0

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

stat.h
Go to the documentation of this file.
1
9 #pragma once
10
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14
15 #include <core/stat.h>
16 #include <sys/types.h>
17
20 #define S_ACCPERM (S_IRWXU | S_IRWXG | S_IRWXO)
21
28 int fstat(int fd, struct stat *buf);
29
36 int stat(const char *pathname, struct stat *buf);
37
45 int mkdir(const char *pathname, mode_t mode);
46
47 #ifdef __cplusplus
48 }
49 #endif
50
types.h
Wrapper for kernel types.h header.
mkdir
int mkdir(const char *pathname, mode_t mode)
Create directory at file system.
stat
int stat(const char *pathname, struct stat *buf)
Get file status of a given path name.
mode_t
unsigned int mode_t
Definition: types.h:41
stat
Definition: stat.h:48
fstat
int fstat(int fd, struct stat *buf)
Get file status of a given file descriptor (system call)