osprey-gcc-4.2.0/libcpp/system.h File Reference
#include <stdarg.h>
#include <stdio.h>
#include <sys/types.h>
#include <errno.h>
#include "filenames.h"
#include "libiberty.h"
#include "safe-ctype.h"
Go to the source code of this file.
|
Defines |
| #define | NULL 0 |
| #define | fopen(PATH, MODE) fopen_unlocked(PATH,MODE) |
| #define | fdopen(FILDES, MODE) fdopen_unlocked(FILDES,MODE) |
| #define | freopen(PATH, MODE, STREAM) freopen_unlocked(PATH,MODE,STREAM) |
| #define | __NO_STRING_INLINES |
| #define | INTTYPE_SIGNED(t) (! ((t) 0 < (t) -1)) |
| #define | INTTYPE_MINIMUM(t) |
| #define | INTTYPE_MAXIMUM(t) ((t) (~ (t) 0 - INTTYPE_MINIMUM (t))) |
| #define | UCHAR_MAX INTTYPE_MAXIMUM (unsigned char) |
| #define | setlocale(category, locale) (locale) |
| #define | dgettext(package, msgid) (msgid) |
| #define | _(msgid) dgettext (PACKAGE, msgid) |
| #define | N_(msgid) msgid |
| #define | MIN(X, Y) ((X) < (Y) ? (X) : (Y)) |
| #define | MAX(X, Y) ((X) > (Y) ? (X) : (Y)) |
| #define | S_ISREG(m) (((m) & S_IFMT) == S_IFREG) |
| #define | S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) |
| #define | S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) |
| #define | S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) |
| #define | S_ISSOCK(m) 0 |
| #define | S_ISFIFO(m) 0 |
| #define | O_NOCTTY 0 |
| #define | O_BINARY 0 |
| #define | HAVE_DESIGNATED_INITIALIZERS |
| #define | ENUM_BITFIELD(TYPE) unsigned int |
| #define | offsetof(TYPE, MEMBER) ((size_t) &((TYPE *) 0)->MEMBER) |
| #define | __builtin_expect(a, b) (a) |
| #define | bool unsigned char |
| #define | true 1 |
| #define | false 0 |
| #define | BOOL_BITFIELD unsigned int |
Define Documentation
| #define __builtin_expect |
( |
a, |
|
|
b |
|
) |
(a) |
| #define __NO_STRING_INLINES |
| #define bool unsigned char |
| #define BOOL_BITFIELD unsigned int |
| #define ENUM_BITFIELD |
( |
TYPE |
|
) |
unsigned int |
| #define fdopen |
( |
FILDES, |
|
|
MODE |
|
) |
fdopen_unlocked(FILDES,MODE) |
| #define fopen |
( |
PATH, |
|
|
MODE |
|
) |
fopen_unlocked(PATH,MODE) |
| #define freopen |
( |
PATH, |
|
|
MODE, |
|
|
STREAM |
|
) |
freopen_unlocked(PATH,MODE,STREAM) |
| #define HAVE_DESIGNATED_INITIALIZERS |
Value:
((!defined(__cplusplus) && (GCC_VERSION >= 2007)) \
|| (__STDC_VERSION__ >= 199901L))
Definition at line 350 of file system.h.
| #define INTTYPE_MAXIMUM |
( |
t |
|
) |
((t) (~ (t) 0 - INTTYPE_MINIMUM (t))) |
| #define INTTYPE_MINIMUM |
( |
t |
|
) |
|
| #define INTTYPE_SIGNED |
( |
t |
|
) |
(! ((t) 0 < (t) -1)) |
| #define MAX |
( |
X, |
|
|
Y |
|
) |
((X) > (Y) ? (X) : (Y)) |
| #define MIN |
( |
X, |
|
|
Y |
|
) |
((X) < (Y) ? (X) : (Y)) |
| #define S_ISBLK |
( |
m |
|
) |
(((m) & S_IFMT) == S_IFBLK) |
| #define S_ISCHR |
( |
m |
|
) |
(((m) & S_IFMT) == S_IFCHR) |
| #define S_ISDIR |
( |
m |
|
) |
(((m) & S_IFMT) == S_IFDIR) |
| #define S_ISREG |
( |
m |
|
) |
(((m) & S_IFMT) == S_IFREG) |
| #define setlocale |
( |
category, |
|
|
locale |
|
) |
(locale) |
| #define UCHAR_MAX INTTYPE_MAXIMUM (unsigned char) |