xapian-core  1.4.26
Macros
posixy_wrapper.h File Reference

Provides wrappers with POSIXy semantics. More...

#include <cstdio>
#include "safeunistd.h"
#include <sys/types.h>
#include "safesysstat.h"
#include "safefcntl.h"
+ Include dependency graph for posixy_wrapper.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define posixy_open   ::open
 
#define posixy_rename(F, T)   std::rename(F, T)
 
#define posixy_unlink(F)   unlink(F)
 

Detailed Description

Provides wrappers with POSIXy semantics.

Definition in file posixy_wrapper.h.

Macro Definition Documentation

◆ posixy_open

#define posixy_open   ::open

◆ posixy_rename

#define posixy_rename (   F,
 
)    std::rename(F, T)

Definition at line 46 of file posixy_wrapper.h.

Referenced by io_tmp_rename().

◆ posixy_unlink

#define posixy_unlink (   F)    unlink(F)

Definition at line 56 of file posixy_wrapper.h.

Referenced by io_unlink().