picotm  0.8.0
Functions
stat-tm.h File Reference

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

#include <picotm/compiler.h>
#include <sys/stat.h>

Functions

PICOTM_NOTHROW int chmod_tm (const char *path, mode_t mode)
 
PICOTM_NOTHROW int fstat_tm (int fildes, struct stat *buf)
 
PICOTM_NOTHROW int lstat_tm (const char *path, struct stat *buf)
 
PICOTM_NOTHROW int mkdir_tm (const char *path, mode_t mode)
 
PICOTM_NOTHROW int mkfifo_tm (const char *path, mode_t mode)
 
PICOTM_NOTHROW int stat_tm (const char *path, struct stat *buf)
 

Function Documentation

◆ chmod_tm()

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

Variant of chmod_tx() that operates on transactional memory.

◆ fstat_tm()

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

Variant of fstat_tx() that operates on transactional memory.

◆ lstat_tm()

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

Variant of lstat_tx() that operates on transactional memory.

◆ mkdir_tm()

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

Variant of mkdir_tx() that operates on transactional memory.

◆ mkfifo_tm()

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

Variant of mkfifo_tx() that operates on transactional memory.

◆ stat_tm()

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

Variant of stat_tx() that operates on transactional memory.