osprey/kg++fe/gnu/system.h File Reference

#include <varargs.h>
#include <stdio.h>
#include <safe-ctype.h>
#include <sys/types.h>
#include <errno.h>
#include "hwint.h"
#include "libiberty.h"
#include "symcat.h"

Include dependency graph for system.h:

Go to the source code of this file.

Defines

#define va_copy(d, s)   ((d) = (s))
#define NULL   0
#define SUCCESS_EXIT_CODE   0
#define FATAL_EXIT_CODE   1
#define IN_RANGE(VALUE, LOWER, UPPER)   ((unsigned HOST_WIDE_INT) ((VALUE) - (LOWER)) <= ((UPPER) - (LOWER)))
#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 SEEK_SET   0
#define SEEK_CUR   1
#define SEEK_END   2
#define F_OK   0
#define X_OK   1
#define W_OK   2
#define R_OK   4
#define O_RDONLY   0
#define O_WRONLY   1
#define MIN(X, Y)   ((X) < (Y) ? (X) : (Y))
#define MAX(X, Y)   ((X) > (Y) ? (X) : (Y))
#define CEIL(x, y)   (((x) + (y) - 1) / (y))
#define WIFSIGNALED(S)   (((S) & 0xff) != 0 && ((S) & 0xff) != 0x7f)
#define WTERMSIG(S)   ((S) & 0x7f)
#define WIFEXITED(S)   (((S) & 0xff) == 0)
#define WEXITSTATUS(S)   (((S) & 0xff00) >> 8)
#define WSTOPSIG   WEXITSTATUS
#define WCOREDUMP(S)   ((S) & WCOREFLG)
#define WCOREFLG   0200
#define volatile
#define HAVE_DESIGNATED_INITIALIZERS   ((GCC_VERSION >= 2007) || (__STDC_VERSION__ >= 199901L))
#define HAVE__BOOL   ((GCC_VERSION >= 3000) || (__STDC_VERSION__ >= 199901L))
#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_NONBLOCK   O_NDELAY
#define O_NOCTTY   0
#define STDIN_FILENO   0
#define STDOUT_FILENO   1
#define STDERR_FILENO   2
#define HOST_PTR_PRINTF
#define PATH_SEPARATOR   ':'
#define DIR_SEPARATOR   '/'
#define IS_DIR_SEPARATOR(CH)   ((CH) == DIR_SEPARATOR)
#define IS_ABSOLUTE_PATHNAME(STR)   (IS_DIR_SEPARATOR ((STR)[0]) || (STR)[0] == '$')
#define HOST_BIT_BUCKET   "/dev/null"
#define ENUM_BITFIELD(TYPE)   unsigned int
#define offsetof(TYPE, MEMBER)   ((size_t) &((TYPE *) 0)->MEMBER)
#define UNION_INIT_ZERO
#define __FUNCTION__   "?"
#define __builtin_expect(a, b)   (a)
#define bool   _Bool
#define true   1
#define false   0
#define TRUE   true
#define FALSE   false
#define really_call_malloc   malloc
#define really_call_calloc   calloc
#define really_call_realloc   realloc

Typedefs

typedef char _Bool

Functions/Subroutines

const char *strsignal PARAMS ((int))


Define Documentation

#define __builtin_expect ( a,
b   )     (a)

Definition at line 541 of file system.h.

#define __FUNCTION__   "?"

#define bool   _Bool

Definition at line 559 of file system.h.

#define CEIL ( x,
 )     (((x) + (y) - 1) / (y))

Definition at line 247 of file system.h.

#define DIR_SEPARATOR   '/'

Definition at line 472 of file system.h.

#define ENUM_BITFIELD ( TYPE   )     unsigned int

Definition at line 513 of file system.h.

Referenced by GTY().

#define F_OK   0

Definition at line 225 of file system.h.

Referenced by access_(), cif_VerifyCanWrite(), edit_file(), make_temp_file(), and process_command().

#define FALSE   false

Definition at line 578 of file system.h.

#define false   0

Definition at line 574 of file system.h.

#define FATAL_EXIT_CODE   1

Definition at line 151 of file system.h.

#define HAVE__BOOL   ((GCC_VERSION >= 3000) || (__STDC_VERSION__ >= 199901L))

Definition at line 382 of file system.h.

#define HAVE_DESIGNATED_INITIALIZERS   ((GCC_VERSION >= 2007) || (__STDC_VERSION__ >= 199901L))

Definition at line 376 of file system.h.

#define HOST_BIT_BUCKET   "/dev/null"

Definition at line 504 of file system.h.

Referenced by do_spec_1(), and munge_compile_params().

#define HOST_PTR_PRINTF

Value:

(sizeof (int) == sizeof (char *) ? "%x" \
     : sizeof (long) == sizeof (char *) ? "%lx" : "%llx")

Definition at line 460 of file system.h.

#define IN_RANGE ( VALUE,
LOWER,
UPPER   )     ((unsigned HOST_WIDE_INT) ((VALUE) - (LOWER)) <= ((UPPER) - (LOWER)))

#define INTTYPE_MAXIMUM (  )     ((t) (~ (t) 0 - INTTYPE_MINIMUM (t)))

Definition at line 191 of file system.h.

#define INTTYPE_MINIMUM (  ) 

Value:

((t) (INTTYPE_SIGNED (t) \
                             ? ~ (t) 0 << (sizeof(t) * CHAR_BIT - 1) : (t) 0))

Definition at line 189 of file system.h.

#define INTTYPE_SIGNED (  )     (! ((t) 0 < (t) -1))

Definition at line 186 of file system.h.

#define IS_ABSOLUTE_PATHNAME ( STR   )     (IS_DIR_SEPARATOR ((STR)[0]) || (STR)[0] == '$')

#define IS_DIR_SEPARATOR ( CH   )     ((CH) == DIR_SEPARATOR)

Definition at line 477 of file system.h.

#define MAX ( X,
 )     ((X) > (Y) ? (X) : (Y))

Definition at line 244 of file system.h.

#define MIN ( X,
 )     ((X) < (Y) ? (X) : (Y))

Definition at line 243 of file system.h.

#define NULL   0

Definition at line 53 of file system.h.

#define O_NOCTTY   0

Definition at line 436 of file system.h.

Referenced by open_file().

#define O_NONBLOCK   O_NDELAY

Definition at line 431 of file system.h.

#define O_RDONLY   0

Definition at line 231 of file system.h.

#define O_WRONLY   1

Definition at line 234 of file system.h.

#define offsetof ( TYPE,
MEMBER   )     ((size_t) &((TYPE *) 0)->MEMBER)

Definition at line 517 of file system.h.

#define PATH_SEPARATOR   ':'

Definition at line 468 of file system.h.

#define R_OK   4

Definition at line 228 of file system.h.

#define really_call_calloc   calloc

Definition at line 592 of file system.h.

Referenced by check_for_full_enumeration_handling().

#define really_call_malloc   malloc

Definition at line 591 of file system.h.

#define really_call_realloc   realloc

Definition at line 593 of file system.h.

#define S_ISBLK (  )     (((m) & S_IFMT) == S_IFBLK)

Definition at line 408 of file system.h.

#define S_ISCHR (  )     (((m) & S_IFMT) == S_IFCHR)

Definition at line 403 of file system.h.

#define S_ISDIR (  )     (((m) & S_IFMT) == S_IFDIR)

Definition at line 398 of file system.h.

#define S_ISFIFO (  )     0

Definition at line 425 of file system.h.

#define S_ISREG (  )     (((m) & S_IFMT) == S_IFREG)

Definition at line 393 of file system.h.

#define S_ISSOCK (  )     0

Definition at line 416 of file system.h.

#define SEEK_CUR   1

Definition at line 221 of file system.h.

#define SEEK_END   2

Definition at line 222 of file system.h.

#define SEEK_SET   0

Definition at line 220 of file system.h.

#define STDERR_FILENO   2

#define STDIN_FILENO   0

Definition at line 441 of file system.h.

Referenced by _f_open(), _ft_stopen(), chain_open(), and internal_fix().

#define STDOUT_FILENO   1

#define SUCCESS_EXIT_CODE   0

Definition at line 143 of file system.h.

#define TRUE   true

Definition at line 577 of file system.h.

#define true   1

Definition at line 573 of file system.h.

#define UCHAR_MAX   INTTYPE_MAXIMUM (unsigned char)

Definition at line 195 of file system.h.

#define UNION_INIT_ZERO

Definition at line 527 of file system.h.

#define va_copy ( d,
 )     ((d) = (s))

Definition at line 41 of file system.h.

#define volatile

Definition at line 367 of file system.h.

#define W_OK   2

Definition at line 227 of file system.h.

#define WCOREDUMP ( S   )     ((S) & WCOREFLG)

Definition at line 269 of file system.h.

Referenced by collect_wait(), run_phase(), and run_simple_program().

#define WCOREFLG   0200

Definition at line 272 of file system.h.

#define WEXITSTATUS ( S   )     (((S) & 0xff00) >> 8)

#define WIFEXITED ( S   )     (((S) & 0xff) == 0)

#define WIFSIGNALED ( S   )     (((S) & 0xff) != 0 && ((S) & 0xff) != 0x7f)

#define WSTOPSIG   WEXITSTATUS

Definition at line 266 of file system.h.

Referenced by ipxfwstopsig_(), run_phase(), and run_simple_program().

#define WTERMSIG ( S   )     ((S) & 0x7f)

#define X_OK   1

Definition at line 226 of file system.h.


Typedef Documentation

typedef char _Bool

Definition at line 557 of file system.h.


Function Documentation

const char* strsignal PARAMS ( (int)   ) 


Generated on Wed Apr 8 15:46:00 2009 for Open64 by  doxygen 1.5.6