picotm  0.4.0
Functions
stat.h File Reference

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

#include <picotm/compiler.h>
#include <sys/stat.h>
Include dependency graph for stat.h:
This graph shows which files directly or indirectly include this file:

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 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().

◆ stat_tx()

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

A transaction-safe implementation of stat().