#include "swcdb/fs/Local/FileSystem.h"
#include <filesystem>
#include <fcntl.h>
#include <dirent.h>
Go to the source code of this file.
|
#define | SWC_MKDIR(path, perms) ::mkdir(path, perms) |
|
#define | SWC_FSYNC(fd) ::fsync(fd) |
|
#define | SWC_PREAD(fd, ptr, nleft, offset) ::pread(fd, ptr, nleft, offset) |
|
◆ SWC_FSYNC
#define SWC_FSYNC |
( |
|
fd | ) |
::fsync(fd) |
◆ SWC_MKDIR
#define SWC_MKDIR |
( |
|
path, |
|
|
|
perms |
|
) |
| ::mkdir(path, perms) |
◆ SWC_PREAD
#define SWC_PREAD |
( |
|
fd, |
|
|
|
ptr, |
|
|
|
nleft, |
|
|
|
offset |
|
) |
| ::pread(fd, ptr, nleft, offset) |
◆ fs_make_new_local()