#include <stdbool.h>
#include <time.h>
#include <sys/types.h>
Go to the source code of this file.
Functions | |
OCTAVE_API int | octave_fstat_wrapper (int fid, mode_t *mode, ino_t *ino, dev_t *dev, nlink_t *nlink, uid_t *uid, gid_t *gid, off_t *size, time_t *atime, time_t *mtime, time_t *ctime, dev_t *rdev, long *blksize, long *blocks) |
OCTAVE_API bool | octave_have_struct_stat_st_blksize (void) |
OCTAVE_API bool | octave_have_struct_stat_st_blocks (void) |
OCTAVE_API bool | octave_have_struct_stat_st_rdev (void) |
OCTAVE_API bool | octave_is_blk_wrapper (mode_t mode) |
OCTAVE_API bool | octave_is_chr_wrapper (mode_t mode) |
OCTAVE_API bool | octave_is_dir_wrapper (mode_t mode) |
OCTAVE_API bool | octave_is_fifo_wrapper (mode_t mode) |
OCTAVE_API bool | octave_is_lnk_wrapper (mode_t mode) |
OCTAVE_API bool | octave_is_reg_wrapper (mode_t mode) |
OCTAVE_API bool | octave_is_sock_wrapper (mode_t mode) |
OCTAVE_API int | octave_lstat_wrapper (const char *lname, mode_t *mode, ino_t *ino, dev_t *dev, nlink_t *nlink, uid_t *uid, gid_t *gid, off_t *size, time_t *atime, time_t *mtime, time_t *ctime, dev_t *rdev, long *blksize, long *blocks) |
OCTAVE_API int | octave_mkdir_wrapper (const char *name, mode_t mode) |
OCTAVE_API int | octave_mkfifo_wrapper (const char *name, mode_t mode) |
OCTAVE_API int | octave_stat_wrapper (const char *fname, mode_t *mode, ino_t *ino, dev_t *dev, nlink_t *nlink, uid_t *uid, gid_t *gid, off_t *size, time_t *atime, time_t *mtime, time_t *ctime, dev_t *rdev, long *blksize, long *blocks) |
OCTAVE_API int | octave_umask_wrapper (mode_t mode) |
OCTAVE_API int octave_fstat_wrapper | ( | int | fid, |
mode_t * | mode, | ||
ino_t * | ino, | ||
dev_t * | dev, | ||
nlink_t * | nlink, | ||
uid_t * | uid, | ||
gid_t * | gid, | ||
off_t * | size, | ||
time_t * | atime, | ||
time_t * | mtime, | ||
time_t * | ctime, | ||
dev_t * | rdev, | ||
long * | blksize, | ||
long * | blocks | ||
) |
Definition at line 159 of file stat-wrappers.c.
References assign_stat_fields(), and stat().
Referenced by file_fstat::update_internal().
OCTAVE_API bool octave_have_struct_stat_st_blksize | ( | void | ) |
Definition at line 269 of file stat-wrappers.c.
Referenced by base_file_stat::have_struct_stat_st_blksize().
OCTAVE_API bool octave_have_struct_stat_st_blocks | ( | void | ) |
Definition at line 279 of file stat-wrappers.c.
Referenced by base_file_stat::have_struct_stat_st_blocks().
OCTAVE_API bool octave_have_struct_stat_st_rdev | ( | void | ) |
Definition at line 259 of file stat-wrappers.c.
Referenced by base_file_stat::have_struct_stat_st_rdev().
OCTAVE_API bool octave_is_blk_wrapper | ( | mode_t | mode | ) |
Definition at line 184 of file stat-wrappers.c.
Referenced by base_file_stat::is_blk().
OCTAVE_API bool octave_is_chr_wrapper | ( | mode_t | mode | ) |
Definition at line 194 of file stat-wrappers.c.
Referenced by base_file_stat::is_chr().
OCTAVE_API bool octave_is_dir_wrapper | ( | mode_t | mode | ) |
Definition at line 204 of file stat-wrappers.c.
Referenced by base_file_stat::is_dir().
OCTAVE_API bool octave_is_fifo_wrapper | ( | mode_t | mode | ) |
Definition at line 214 of file stat-wrappers.c.
Referenced by base_file_stat::is_fifo().
OCTAVE_API bool octave_is_lnk_wrapper | ( | mode_t | mode | ) |
Definition at line 224 of file stat-wrappers.c.
Referenced by base_file_stat::is_lnk().
OCTAVE_API bool octave_is_reg_wrapper | ( | mode_t | mode | ) |
Definition at line 234 of file stat-wrappers.c.
Referenced by base_file_stat::is_reg().
OCTAVE_API bool octave_is_sock_wrapper | ( | mode_t | mode | ) |
Definition at line 244 of file stat-wrappers.c.
Referenced by base_file_stat::is_sock().
OCTAVE_API int octave_lstat_wrapper | ( | const char * | lname, |
mode_t * | mode, | ||
ino_t * | ino, | ||
dev_t * | dev, | ||
nlink_t * | nlink, | ||
uid_t * | uid, | ||
gid_t * | gid, | ||
off_t * | size, | ||
time_t * | atime, | ||
time_t * | mtime, | ||
time_t * | ctime, | ||
dev_t * | rdev, | ||
long * | blksize, | ||
long * | blocks | ||
) |
Definition at line 135 of file stat-wrappers.c.
References assign_stat_fields(), free(), stat(), and u8_to_wchar().
Referenced by file_stat::update_internal().
OCTAVE_API int octave_mkdir_wrapper | ( | const char * | name, |
mode_t | mode | ||
) |
Definition at line 49 of file stat-wrappers.c.
References free(), mkdir(), and u8_to_wchar().
Referenced by mkdir().
OCTAVE_API int octave_mkfifo_wrapper | ( | const char * | name, |
mode_t | mode | ||
) |
OCTAVE_API int octave_stat_wrapper | ( | const char * | fname, |
mode_t * | mode, | ||
ino_t * | ino, | ||
dev_t * | dev, | ||
nlink_t * | nlink, | ||
uid_t * | uid, | ||
gid_t * | gid, | ||
off_t * | size, | ||
time_t * | atime, | ||
time_t * | mtime, | ||
time_t * | ctime, | ||
dev_t * | rdev, | ||
long * | blksize, | ||
long * | blocks | ||
) |
Definition at line 112 of file stat-wrappers.c.
References assign_stat_fields(), free(), stat(), and u8_to_wchar().
Referenced by file_stat::update_internal().
OCTAVE_API int octave_umask_wrapper | ( | mode_t | mode | ) |