File es_posix.c¶
FileList > cubrid > src > storage > es_posix.c
Go to the source code of this file
#include "config.h"#include <stdio.h>#include <errno.h>#include <fcntl.h>#include <sys/types.h>#include <sys/stat.h>#include <assert.h>#include <unistd.h>#include <sys/vfs.h>#include <string.h>#include "porting.h"#include "thread_compat.hpp"#include "error_manager.h"#include "system_parameter.h"#include "error_code.h"#include "es_posix.h"#include "thread_entry.hpp"#include "thread_manager.hpp"#include "memory_wrapper.hpp"
Public Attributes¶
| Type | Name |
|---|---|
| char | es_base_dir = { 0 } |
Public Functions¶
Public Static Functions¶
| Type | Name |
|---|---|
| int | es_abs_open (const char * abs_path, int flags) |
| int | es_abs_open (const char * abs_path, int flags, mode_t mode) |
| void | es_get_unique_name (char * dirname1, char * dirname2, const char * metaname, char * filename) |
| int | es_make_abs_path (char * abs_path, const char * src_path) |
| int | es_os_rename_file_abs (const char * src, const char * dst) |
| void | es_rename_path (const char * src, char * tgt, char * metaname) |
Macros¶
| Type | Name |
|---|---|
| define | ES_POSIX_COPY_BUFSIZE (4096 \* 4) /\* 16K \*/ |
Public Attributes Documentation¶
variable es_base_dir¶
Public Functions Documentation¶
function es_local_get_file_size¶
function es_local_read_file¶
function es_make_dirs¶
function es_posix_final¶
function es_posix_init¶
function xes_posix_copy_file¶
function xes_posix_copy_file_with_prefix¶
int xes_posix_copy_file_with_prefix (
const char * src_path,
char * metaname,
const char * prefix,
char * new_path
)
function xes_posix_create_file¶
function xes_posix_delete_file¶
function xes_posix_get_file_size¶
function xes_posix_move_file_with_prefix¶
int xes_posix_move_file_with_prefix (
const char * src_path,
const char * metaname,
const char * prefix,
char * new_path
)
function xes_posix_read_file¶
function xes_posix_rename_file¶
function xes_posix_write_file¶
Public Static Functions Documentation¶
function es_abs_open¶
function es_abs_open¶
function es_get_unique_name¶
static void es_get_unique_name (
char * dirname1,
char * dirname2,
const char * metaname,
char * filename
)
function es_make_abs_path¶
function es_os_rename_file_abs¶
function es_rename_path¶
Macro Definition Documentation¶
define ES_POSIX_COPY_BUFSIZE¶
The documentation for this class was generated from the following file cubrid/src/storage/es_posix.c