picotm  0.7.0
Functions
unistd-tm.h File Reference

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

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

Functions

PICOTM_NOTHROW int chdir_tm (const char *path)
 
PICOTM_NOTHROW char * getcwd_tm (char *buf, size_t size)
 
PICOTM_NOTHROW int link_tm (const char *path1, const char *path2)
 
PICOTM_NOTHROW int pipe_tm (int fildes[2])
 
PICOTM_NOTHROW ssize_t pread_tm (int fildes, void *buf, size_t nbyte, off_t offset)
 
PICOTM_NOTHROW ssize_t pwrite_tm (int fildes, const void *buf, size_t nbyte, off_t offset)
 
PICOTM_NOTHROW ssize_t read_tm (int fildes, void *buf, size_t nbyte)
 
PICOTM_NOTHROW int unlink_tm (const char *path)
 
PICOTM_NOTHROW ssize_t write_tm (int fildes, const void *buf, size_t nbyte)
 

Function Documentation

◆ chdir_tm()

PICOTM_NOTHROW int chdir_tm ( const char *  path)

Variant of chdir_tx() that operates on transactional memory.

◆ getcwd_tm()

PICOTM_NOTHROW char* getcwd_tm ( char *  buf,
size_t  size 
)

Variant of getcwd_tx() that operates on transactional memory.

◆ link_tm()

PICOTM_NOTHROW int link_tm ( const char *  path1,
const char *  path2 
)

Variant of link_tx() that operates on transactional memory.

◆ pipe_tm()

PICOTM_NOTHROW int pipe_tm ( int  fildes[2])

Variant of pipe_tx() that operates on transactional memory.

◆ pread_tm()

PICOTM_NOTHROW ssize_t pread_tm ( int  fildes,
void *  buf,
size_t  nbyte,
off_t  offset 
)

Variant of pread_tx() that operates on transactional memory.

◆ pwrite_tm()

PICOTM_NOTHROW ssize_t pwrite_tm ( int  fildes,
const void *  buf,
size_t  nbyte,
off_t  offset 
)

Variant of pwrite_tx() that operates on transactional memory.

◆ read_tm()

PICOTM_NOTHROW ssize_t read_tm ( int  fildes,
void *  buf,
size_t  nbyte 
)

Variant of read_tx() that operates on transactional memory.

◆ unlink_tm()

PICOTM_NOTHROW int unlink_tm ( const char *  path)

Variant of unlink_tx() that operates on transactional memory.

◆ write_tm()

PICOTM_NOTHROW ssize_t write_tm ( int  fildes,
const void *  buf,
size_t  nbyte 
)

Variant of write_tx() that operates on transactional memory.