ns-3 Direct Code Execution
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
anonymous_namespace{dce-stdio.cc} Namespace Reference

Classes

struct  my_IO_FILE_plus
struct  my_IO_jump_t

Functions

bool mode_create (const char *mode)
int mode_posix_flags (const char *mode)
bool mode_seek_start (const char *mode)
void mode_setup (FILE *file, int fd, const char *mode)
bool mode_truncate (const char *mode)
bool mode_valid (const char *mode)
int my_close (_IO_FILE *file)
int my_close_unconditional (_IO_FILE *file)
ssize_t my_read (_IO_FILE *file, void *buffer, ssize_t size)
off64_t my_seek (_IO_FILE *file, off64_t where, int whence)
off64_t my_seek_unconditional (_IO_FILE *file, off64_t where, int whence)
int my_stat (_IO_FILE *file, void *buf)
ssize_t my_write (_IO_FILE *file, const void *buffer, ssize_t size)
int my_write_unconditional (_IO_FILE *file)

Function Documentation

bool anonymous_namespace{dce-stdio.cc}::mode_create ( const char *  mode)

Definition at line 114 of file dce-stdio.cc.

int anonymous_namespace{dce-stdio.cc}::mode_posix_flags ( const char *  mode)

Definition at line 138 of file dce-stdio.cc.

Referenced by dce_fopen(), dce_fopen64(), and dce_freopen().

+ Here is the caller graph for this function:

bool anonymous_namespace{dce-stdio.cc}::mode_seek_start ( const char *  mode)

Definition at line 106 of file dce-stdio.cc.

Referenced by mode_setup().

+ Here is the caller graph for this function:

void anonymous_namespace{dce-stdio.cc}::mode_setup ( FILE *  file,
int  fd,
const char *  mode 
)

Definition at line 168 of file dce-stdio.cc.

References dce_fseek(), dce_lseek(), and mode_seek_start().

Referenced by dce_fopen(), dce_fopen64(), and dce_freopen().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool anonymous_namespace{dce-stdio.cc}::mode_truncate ( const char *  mode)

Definition at line 110 of file dce-stdio.cc.

bool anonymous_namespace{dce-stdio.cc}::mode_valid ( const char *  mode)

Definition at line 118 of file dce-stdio.cc.

Referenced by dce_fopen(), dce_fopen64(), and dce_freopen().

+ Here is the caller graph for this function:

int anonymous_namespace{dce-stdio.cc}::my_close ( _IO_FILE *  file)

Definition at line 75 of file dce-stdio.cc.

References ns3::Current(), dce_close(), ns3::Thread::err, and errno.

Referenced by dce_fdopen(), and dce_freopen().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int anonymous_namespace{dce-stdio.cc}::my_close_unconditional ( _IO_FILE *  file)

Definition at line 84 of file dce-stdio.cc.

Referenced by dce_fclose_onexec(), and dce_fclose_unconditional().

+ Here is the caller graph for this function:

ssize_t anonymous_namespace{dce-stdio.cc}::my_read ( _IO_FILE *  file,
void *  buffer,
ssize_t  size 
)

Definition at line 44 of file dce-stdio.cc.

References ns3::Current(), dce_read(), ns3::Thread::err, and errno.

Referenced by dce_fdopen(), and dce_freopen().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

off64_t anonymous_namespace{dce-stdio.cc}::my_seek ( _IO_FILE *  file,
off64_t  where,
int  whence 
)

Definition at line 66 of file dce-stdio.cc.

References ns3::Current(), dce_lseek(), ns3::Thread::err, and errno.

Referenced by dce_fdopen(), and dce_freopen().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

off64_t anonymous_namespace{dce-stdio.cc}::my_seek_unconditional ( _IO_FILE *  file,
off64_t  where,
int  whence 
)

Definition at line 93 of file dce-stdio.cc.

Referenced by dce_fclose_unconditional().

+ Here is the caller graph for this function:

int anonymous_namespace{dce-stdio.cc}::my_stat ( _IO_FILE *  file,
void *  buf 
)

Definition at line 97 of file dce-stdio.cc.

References ns3::Current(), dce_fstat64(), ns3::Thread::err, and errno.

Referenced by dce_fdopen(), and dce_freopen().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ssize_t anonymous_namespace{dce-stdio.cc}::my_write ( _IO_FILE *  file,
const void *  buffer,
ssize_t  size 
)

Definition at line 53 of file dce-stdio.cc.

References ns3::Current(), dce_write(), ns3::Thread::err, and errno.

Referenced by dce_fdopen(), and dce_freopen().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int anonymous_namespace{dce-stdio.cc}::my_write_unconditional ( _IO_FILE *  file)

Definition at line 88 of file dce-stdio.cc.

References errno.

Referenced by dce_fclose_unconditional().

+ Here is the caller graph for this function: