picotm  0.5.0
Functions
fcntl.h File Reference

Transactional wrappers for interfaces of <fcntl.h>. More...

#include <fcntl.h>
#include <picotm/compiler.h>

Functions

PICOTM_NOTHROW int creat_tx (const char *path, mode_t mode)
 
PICOTM_NOTHROW int fcntl_tx (int fildes, int cmd,...)
 
PICOTM_NOTHROW int open_tx (const char *path, int oflag,...)
 

Function Documentation

◆ creat_tx()

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

A transaction-safe implementation of creat().

◆ fcntl_tx()

PICOTM_NOTHROW int fcntl_tx ( int  fildes,
int  cmd,
  ... 
)

A transaction-safe implementation of fcntl().

◆ open_tx()

PICOTM_NOTHROW int open_tx ( const char *  path,
int  oflag,
  ... 
)

A transaction-safe implementation of open().