GDB (xrefs)
Functions
fileio.h File Reference
#include "gdb/fileio.h"
#include <sys/stat.h>

Go to the source code of this file.

Functions

int host_to_fileio_error (int error)
 
int fileio_to_host_openflags (int fflags, int *flags)
 
int fileio_to_host_mode (int fmode, mode_t *mode)
 
static void host_to_bigendian (LONGEST num, char *buf, int bytes)
 
static void host_to_fileio_uint (long num, fio_uint_t fnum)
 
static void host_to_fileio_time (time_t num, fio_time_t fnum)
 
void host_to_fileio_stat (struct stat *st, struct fio_stat *fst)
 

Function Documentation

int fileio_to_host_mode ( int  fmode,
mode_t *  mode 
)

Definition at line 115 of file fileio.c.

Referenced by inf_child_fileio_open(), and linux_nat_fileio_open().

int fileio_to_host_openflags ( int  fflags,
int flags 
)

Definition at line 81 of file fileio.c.

References O_BINARY.

Referenced by inf_child_fileio_open(), and linux_nat_fileio_open().

static void host_to_bigendian ( LONGEST  num,
char *  buf,
int  bytes 
)
inlinestatic
int host_to_fileio_error ( int  error)
void host_to_fileio_stat ( struct stat *  st,
struct fio_stat *  fst 
)
static void host_to_fileio_time ( time_t  num,
fio_time_t  fnum 
)
inlinestatic

Definition at line 64 of file fileio.h.

References host_to_bigendian().

Referenced by host_to_fileio_stat(), and remote_fileio_to_fio_timeval().

static void host_to_fileio_uint ( long  num,
fio_uint_t  fnum 
)
inlinestatic

Definition at line 56 of file fileio.h.

References host_to_bigendian().

Referenced by host_to_fileio_stat(), remote_fileio_func_fstat(), and remote_fileio_func_stat().