MySQL 9.6.0
Source Code Documentation
mysql_component_mysql_file_imp Class Reference

Implementation of the "mysql_file" component service that uses server's file manipulation API. More...

#include <mysql_file_imp.h>

Static Public Member Functions

static FILE_h open (const char *file_name, int flags) noexcept
 Wrapper around my_open function. More...
 
static FILE_h create (const char *file_name, int flags, int permission_flags) noexcept
 Wrapper around my_create function. More...
 
static int close (FILE_h file) noexcept
 Wrapper around my_close function. More...
 
static size_t write (FILE_h file, const unsigned char *data, size_t size) noexcept
 Wrapper around my_write function. More...
 
static size_t read (FILE_h file, unsigned char *data, size_t size) noexcept
 Wrapper around my_read function. More...
 
static int flush (FILE_h file) noexcept
 Wrapper around my_flush function. More...
 
static unsigned long long seek (FILE_h file, unsigned long long pos, int whence) noexcept
 Wrapper around my_seek function. More...
 
static unsigned long long tell (FILE_h file) noexcept
 Wrapper around my_tell function. More...
 

Detailed Description

Implementation of the "mysql_file" component service that uses server's file manipulation API.

Member Function Documentation

◆ close()

int mysql_component_mysql_file_imp::close ( FILE_h  file)
staticnoexcept

Wrapper around my_close function.

See also
my_close

◆ create()

FILE_h mysql_component_mysql_file_imp::create ( const char *  file_name,
int  flags,
int  permission_flags 
)
staticnoexcept

Wrapper around my_create function.

See also
my_create

◆ flush()

int mysql_component_mysql_file_imp::flush ( FILE_h  file)
staticnoexcept

Wrapper around my_flush function.

See also
my_flush

◆ open()

FILE_h mysql_component_mysql_file_imp::open ( const char *  file_name,
int  flags 
)
staticnoexcept

Wrapper around my_open function.

See also
my_open

◆ read()

size_t mysql_component_mysql_file_imp::read ( FILE_h  file,
unsigned char *  data,
size_t  size 
)
staticnoexcept

Wrapper around my_read function.

See also
my_read

◆ seek()

unsigned long long mysql_component_mysql_file_imp::seek ( FILE_h  file,
unsigned long long  pos,
int  whence 
)
staticnoexcept

Wrapper around my_seek function.

See also
my_seek

◆ tell()

unsigned long long mysql_component_mysql_file_imp::tell ( FILE_h  file)
staticnoexcept

Wrapper around my_tell function.

See also
my_tell

◆ write()

size_t mysql_component_mysql_file_imp::write ( FILE_h  file,
const unsigned char *  data,
size_t  size 
)
staticnoexcept

Wrapper around my_write function.

See also
my_write

The documentation for this class was generated from the following files: