MySQL 9.1.0
Source Code Documentation
my_lib.cc File Reference
#include <errno.h>
#include <string.h>
#include <sys/stat.h>
#include <algorithm>
#include <memory>
#include <new>
#include "m_string.h"
#include "my_alloc.h"
#include "my_dbug.h"
#include "my_dir.h"
#include "my_inttypes.h"
#include "my_io.h"
#include "my_pointer_arithmetic.h"
#include "my_sys.h"
#include "my_thread_local.h"
#include "mysql/service_mysql_alloc.h"
#include "mysys/mysys_priv.h"
#include "mysys_err.h"
#include "prealloced_array.h"
#include "template_utils.h"
#include <dirent.h>

Macros

#define NAMES_START_SIZE   32768
 

Typedefs

typedef Prealloced_array< FILEINFO, 100 > Entries_array
 

Functions

void my_dirend (MY_DIR *buffer)
 
static char * directory_file_name (char *dst, const char *src)
 
MY_DIRmy_dir (const char *path, myf MyFlags)
 
int my_fstat (File Filedes, MY_STAT *stat_area)
 
MY_STATmy_stat (const char *path, MY_STAT *stat_area, myf MyFlags)
 

Macro Definition Documentation

◆ NAMES_START_SIZE

#define NAMES_START_SIZE   32768

Typedef Documentation

◆ Entries_array

Function Documentation

◆ directory_file_name()

static char * directory_file_name ( char *  dst,
const char *  src 
)
static

◆ my_dir()

MY_DIR * my_dir ( const char *  path,
myf  MyFlags 
)

◆ my_dirend()

void my_dirend ( MY_DIR buffer)

◆ my_fstat()

int my_fstat ( File  Filedes,
MY_STAT stat_area 
)

◆ my_stat()

MY_STAT * my_stat ( const char *  path,
MY_STAT stat_area,
myf  MyFlags 
)