common/msvc_posix_wrapper.h File Reference

Go to the source code of this file.

Functions

int msvc_posix_unlink (const char *filename)
 Version of unlink() with POSIX-like semantics (open files can be unlinked).
int msvc_posix_open (const char *filename, int flags)
 Version of open() which allows the file to be unlinked while open.
int msvc_posix_rename (const char *from, const char *to)
 Version of rename() which overwrites an existing destination file.


Function Documentation

int msvc_posix_unlink ( const char *  filename  ) 

Version of unlink() with POSIX-like semantics (open files can be unlinked).

NB The file must have been opened with msvc_posix_open() for this to work.

Referenced by sys_unlink().

int msvc_posix_open ( const char *  filename,
int  flags 
)

Version of open() which allows the file to be unlinked while open.

Referenced by sys_open_to_read_no_except(), and sys_open_to_write_no_except().

int msvc_posix_rename ( const char *  from,
const char *  to 
)

Version of rename() which overwrites an existing destination file.

Referenced by Btree::commit(), FlintTable::commit(), and FlintVersion::read_and_check().


Documentation for Xapian (version 1.0.10).
Generated on 24 Dec 2008 by Doxygen 1.5.2.