picotm  0.10.0
Functions
stat.h File Reference

Transactional wrappers for interfaces of <sys/stat.h>. More...

#include <picotm/compiler.h>
#include <picotm/config/picotm-libc-config.h>
#include <sys/stat.h>

Functions

PICOTM_NOTHROW int chmod_tx (const char *path, mode_t mode)
 
PICOTM_NOTHROW int fchmod_tx (int fildes, mode_t mode)
 
PICOTM_NOTHROW int fstat_tx (int fildes, struct stat *buf)
 
PICOTM_NOTHROW int lstat_tx (const char *path, struct stat *buf)
 
PICOTM_NOTHROW int mkdir_tx (const char *path, mode_t mode)
 
PICOTM_NOTHROW int mkfifo_tx (const char *path, mode_t mode)
 
PICOTM_NOTHROW int mknod_tx (const char *path, mode_t mode, dev_t dev)
 
PICOTM_NOTHROW int stat_tx (const char *path, struct stat *buf)
 

Function Documentation

◆ chmod_tx()

PICOTM_NOTHROW int chmod_tx ( const char *  path,
mode_t  mode 
)

A transaction-safe implementation of chmod().

◆ fchmod_tx()

PICOTM_NOTHROW int fchmod_tx ( int  fildes,
mode_t  mode 
)

A transaction-safe implementation of fchmod().

◆ fstat_tx()

PICOTM_NOTHROW int fstat_tx ( int  fildes,
struct stat *  buf 
)

A transaction-safe implementation of fstat().

◆ lstat_tx()

PICOTM_NOTHROW int lstat_tx ( const char *  path,
struct stat *  buf 
)

A transaction-safe implementation of lstat().

◆ mkdir_tx()

PICOTM_NOTHROW int mkdir_tx ( const char *  path,
mode_t  mode 
)

A transaction-safe implementation of mkdir().

◆ mkfifo_tx()

PICOTM_NOTHROW int mkfifo_tx ( const char *  path,
mode_t  mode 
)

A transaction-safe implementation of mkfifo().

◆ mknod_tx()

PICOTM_NOTHROW int mknod_tx ( const char *  path,
mode_t  mode,
dev_t  dev 
)

A transaction-safe implementation of mknod().

◆ stat_tx()

PICOTM_NOTHROW int stat_tx ( const char *  path,
struct stat *  buf 
)

A transaction-safe implementation of stat().