MySQL 8.0.39
Source Code Documentation
mf_dirname.cc File Reference
#include <stddef.h>
#include "m_string.h"
#include "my_dbug.h"
#include "my_io.h"
#include "my_sys.h"

Macros

#define FN_DEVCHAR   '\0' /* For easier code */
 

Functions

size_t dirname_length (const char *name)
 Get the string length of the directory part of name, including the last FN_LIBCHAR. More...
 
size_t dirname_part (char *to, const char *name, size_t *to_res_length)
 Gives directory part of filename. More...
 
char * convert_dirname (char *to, const char *from, const char *from_end)
 Convert directory name to use under this system. More...
 

Macro Definition Documentation

◆ FN_DEVCHAR

#define FN_DEVCHAR   '\0' /* For easier code */