MySQL 8.3.0
Source Code Documentation
my_fopen.cc File Reference
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <sys/types.h>
#include "my_dbug.h"
#include "my_inttypes.h"
#include "my_io.h"
#include "my_sys.h"
#include "my_thread_local.h"
#include "mysql/psi/mysql_mutex.h"
#include "mysql/service_mysql_alloc.h"
#include "mysys/mysys_priv.h"
#include "mysys_err.h"

Namespaces

namespace  anonymous_namespace{my_fopen.cc}
 

Functions

void anonymous_namespace{my_fopen.cc}::make_ftype (char *to, int flag)
 Make a fopen() typestring from a open() type bitmap. More...
 
FILE * my_fopen (const char *filename, int flags, myf MyFlags)
 Open a file as stream. More...
 
FILE * my_freopen (const char *filename, const char *mode, FILE *stream)
 Change the file associated with a file stream. More...
 
int my_fclose (FILE *stream, myf MyFlags)
 Close a stream. More...
 
FILE * my_fdopen (File fd, const char *filename, int flags, myf MyFlags)
 Make a stream out of a file handle. More...
 

Variables

constexpr FILE * anonymous_namespace{my_fopen.cc}::nullstream = nullptr