![]() |
Samsung Internal API reference
2.0
|
Macros | |
| #define | S_ACCPERM (S_IRWXU | S_IRWXG | S_IRWXO) |
Functions | |
| int | fstat (int fd, struct stat *buf) |
| Get file status of a given file descriptor (system call) More... | |
| int | stat (const char *pathname, struct stat *buf) |
| Get file status of a given path name. More... | |
| int | mkdir (const char *pathname, mode_t mode) |
| Create directory at file system. More... | |
| #define S_ACCPERM (S_IRWXU | S_IRWXG | S_IRWXO) |
#include <sys/stat.h>
mask to extract permission from stat.st_mode
| int fstat | ( | int | fd, |
| struct stat * | buf | ||
| ) |
#include <sys/stat.h>
Get file status of a given file descriptor (system call)
| [in] | fd | file descriptor |
| [out] | buf | pointer to struct stat buffer |
| int mkdir | ( | const char * | pathname, |
| mode_t | mode | ||
| ) |
#include <sys/stat.h>
Create directory at file system.
| [in] | pathname | directory name |
| [in] | mode | specifies the permissions. |
| 0 | on success. |
| -1 | on error. errno is set appropriately. |
#include <sys/stat.h>
Get file status of a given path name.
| [in] | pathname | name of a file |
| [out] | buf | pointer to struct stat buffer |