GDB (API)
Classes | Defines | Typedefs
/home/stan/gdb/src/include/gdb/fileio.h File Reference

Go to the source code of this file.

Classes

struct  fio_stat
struct  fio_timeval

Defines

#define FILEIO_O_RDONLY   0x0
#define FILEIO_O_WRONLY   0x1
#define FILEIO_O_RDWR   0x2
#define FILEIO_O_APPEND   0x8
#define FILEIO_O_CREAT   0x200
#define FILEIO_O_TRUNC   0x400
#define FILEIO_O_EXCL   0x800
#define FILEIO_O_SUPPORTED
#define FILEIO_S_IFREG   0100000
#define FILEIO_S_IFDIR   040000
#define FILEIO_S_IFCHR   020000
#define FILEIO_S_IRUSR   0400
#define FILEIO_S_IWUSR   0200
#define FILEIO_S_IXUSR   0100
#define FILEIO_S_IRWXU   0700
#define FILEIO_S_IRGRP   040
#define FILEIO_S_IWGRP   020
#define FILEIO_S_IXGRP   010
#define FILEIO_S_IRWXG   070
#define FILEIO_S_IROTH   04
#define FILEIO_S_IWOTH   02
#define FILEIO_S_IXOTH   01
#define FILEIO_S_IRWXO   07
#define FILEIO_S_SUPPORTED
#define FILEIO_SEEK_SET   0
#define FILEIO_SEEK_CUR   1
#define FILEIO_SEEK_END   2
#define FILEIO_EPERM   1
#define FILEIO_ENOENT   2
#define FILEIO_EINTR   4
#define FILEIO_EIO   5
#define FILEIO_EBADF   9
#define FILEIO_EACCES   13
#define FILEIO_EFAULT   14
#define FILEIO_EBUSY   16
#define FILEIO_EEXIST   17
#define FILEIO_ENODEV   19
#define FILEIO_ENOTDIR   20
#define FILEIO_EISDIR   21
#define FILEIO_EINVAL   22
#define FILEIO_ENFILE   23
#define FILEIO_EMFILE   24
#define FILEIO_EFBIG   27
#define FILEIO_ENOSPC   28
#define FILEIO_ESPIPE   29
#define FILEIO_EROFS   30
#define FILEIO_ENOSYS   88
#define FILEIO_ENAMETOOLONG   91
#define FILEIO_EUNKNOWN   9999
#define FILEIO_INT_MIN   -2147483648L
#define FILEIO_INT_MAX   2147483647L
#define FILEIO_UINT_MAX   4294967295UL
#define FILEIO_LONG_MIN   -9223372036854775808LL
#define FILEIO_LONG_MAX   9223372036854775807LL
#define FILEIO_ULONG_MAX   18446744073709551615ULL
#define FIO_INT_LEN   4
#define FIO_UINT_LEN   4
#define FIO_MODE_LEN   4
#define FIO_TIME_LEN   4
#define FIO_LONG_LEN   8
#define FIO_ULONG_LEN   8

Typedefs

typedef char fio_int_t [FIO_INT_LEN]
typedef char fio_uint_t [FIO_UINT_LEN]
typedef char fio_mode_t [FIO_MODE_LEN]
typedef char fio_time_t [FIO_TIME_LEN]
typedef char fio_long_t [FIO_LONG_LEN]
typedef char fio_ulong_t [FIO_ULONG_LEN]

Define Documentation

#define FILEIO_EACCES   13

Definition at line 71 of file fileio.h.

#define FILEIO_EBADF   9

Definition at line 70 of file fileio.h.

#define FILEIO_EBUSY   16

Definition at line 73 of file fileio.h.

#define FILEIO_EEXIST   17

Definition at line 74 of file fileio.h.

#define FILEIO_EFAULT   14

Definition at line 72 of file fileio.h.

#define FILEIO_EFBIG   27

Definition at line 81 of file fileio.h.

#define FILEIO_EINTR   4

Definition at line 68 of file fileio.h.

#define FILEIO_EINVAL   22

Definition at line 78 of file fileio.h.

#define FILEIO_EIO   5

Definition at line 69 of file fileio.h.

#define FILEIO_EISDIR   21

Definition at line 77 of file fileio.h.

#define FILEIO_EMFILE   24

Definition at line 80 of file fileio.h.

#define FILEIO_ENAMETOOLONG   91

Definition at line 86 of file fileio.h.

#define FILEIO_ENFILE   23

Definition at line 79 of file fileio.h.

#define FILEIO_ENODEV   19

Definition at line 75 of file fileio.h.

#define FILEIO_ENOENT   2

Definition at line 67 of file fileio.h.

#define FILEIO_ENOSPC   28

Definition at line 82 of file fileio.h.

#define FILEIO_ENOSYS   88

Definition at line 85 of file fileio.h.

#define FILEIO_ENOTDIR   20

Definition at line 76 of file fileio.h.

#define FILEIO_EPERM   1

Definition at line 66 of file fileio.h.

#define FILEIO_EROFS   30

Definition at line 84 of file fileio.h.

#define FILEIO_ESPIPE   29

Definition at line 83 of file fileio.h.

#define FILEIO_EUNKNOWN   9999

Definition at line 87 of file fileio.h.

#define FILEIO_INT_MAX   2147483647L

Definition at line 91 of file fileio.h.

#define FILEIO_INT_MIN   -2147483648L

Definition at line 90 of file fileio.h.

#define FILEIO_LONG_MAX   9223372036854775807LL

Definition at line 94 of file fileio.h.

#define FILEIO_LONG_MIN   -9223372036854775808LL

Definition at line 93 of file fileio.h.

#define FILEIO_O_APPEND   0x8

Definition at line 31 of file fileio.h.

#define FILEIO_O_CREAT   0x200

Definition at line 32 of file fileio.h.

#define FILEIO_O_EXCL   0x800

Definition at line 34 of file fileio.h.

#define FILEIO_O_RDONLY   0x0

Definition at line 28 of file fileio.h.

#define FILEIO_O_RDWR   0x2

Definition at line 30 of file fileio.h.

Value:
(FILEIO_O_RDONLY | FILEIO_O_WRONLY| \
                                 FILEIO_O_RDWR   | FILEIO_O_APPEND| \
                                 FILEIO_O_CREAT  | FILEIO_O_TRUNC| \
                                 FILEIO_O_EXCL)

Definition at line 35 of file fileio.h.

#define FILEIO_O_TRUNC   0x400

Definition at line 33 of file fileio.h.

#define FILEIO_O_WRONLY   0x1

Definition at line 29 of file fileio.h.

#define FILEIO_S_IFCHR   020000

Definition at line 43 of file fileio.h.

#define FILEIO_S_IFDIR   040000

Definition at line 42 of file fileio.h.

#define FILEIO_S_IFREG   0100000

Definition at line 41 of file fileio.h.

#define FILEIO_S_IRGRP   040

Definition at line 48 of file fileio.h.

#define FILEIO_S_IROTH   04

Definition at line 52 of file fileio.h.

#define FILEIO_S_IRUSR   0400

Definition at line 44 of file fileio.h.

#define FILEIO_S_IRWXG   070

Definition at line 51 of file fileio.h.

#define FILEIO_S_IRWXO   07

Definition at line 55 of file fileio.h.

#define FILEIO_S_IRWXU   0700

Definition at line 47 of file fileio.h.

#define FILEIO_S_IWGRP   020

Definition at line 49 of file fileio.h.

#define FILEIO_S_IWOTH   02

Definition at line 53 of file fileio.h.

#define FILEIO_S_IWUSR   0200

Definition at line 45 of file fileio.h.

#define FILEIO_S_IXGRP   010

Definition at line 50 of file fileio.h.

#define FILEIO_S_IXOTH   01

Definition at line 54 of file fileio.h.

#define FILEIO_S_IXUSR   0100

Definition at line 46 of file fileio.h.

Value:
(FILEIO_S_IFREG|FILEIO_S_IFDIR|  \
                                    FILEIO_S_IRWXU|FILEIO_S_IRWXG|  \
                                    FILEIO_S_IRWXO)

Definition at line 56 of file fileio.h.

#define FILEIO_SEEK_CUR   1

Definition at line 62 of file fileio.h.

#define FILEIO_SEEK_END   2

Definition at line 63 of file fileio.h.

#define FILEIO_SEEK_SET   0

Definition at line 61 of file fileio.h.

#define FILEIO_UINT_MAX   4294967295UL

Definition at line 92 of file fileio.h.

#define FILEIO_ULONG_MAX   18446744073709551615ULL

Definition at line 95 of file fileio.h.

#define FIO_INT_LEN   4

Definition at line 105 of file fileio.h.

#define FIO_LONG_LEN   8

Definition at line 109 of file fileio.h.

#define FIO_MODE_LEN   4

Definition at line 107 of file fileio.h.

#define FIO_TIME_LEN   4

Definition at line 108 of file fileio.h.

#define FIO_UINT_LEN   4

Definition at line 106 of file fileio.h.

#define FIO_ULONG_LEN   8

Definition at line 110 of file fileio.h.


Typedef Documentation

typedef char fio_int_t[FIO_INT_LEN]

Definition at line 112 of file fileio.h.

typedef char fio_long_t[FIO_LONG_LEN]

Definition at line 116 of file fileio.h.

typedef char fio_mode_t[FIO_MODE_LEN]

Definition at line 114 of file fileio.h.

typedef char fio_time_t[FIO_TIME_LEN]

Definition at line 115 of file fileio.h.

typedef char fio_uint_t[FIO_UINT_LEN]

Definition at line 113 of file fileio.h.

typedef char fio_ulong_t[FIO_ULONG_LEN]

Definition at line 117 of file fileio.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines