Samsung Internal API reference  2.0
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 
Wrapper for kernel types.h header.
int mkdir(const char *pathname, mode_t mode)
Create directory at file system.
int stat(const char *pathname, struct stat *buf)
Get file status of a given path name.
unsigned int mode_t
Definition: types.h:41
Definition: stat.h:48
int fstat(int fd, struct stat *buf)
Get file status of a given file descriptor (system call)