|
#define | basename basename_cannot_be_used_without_a_prototype |
|
#define | ACONCAT(ACONCAT_PARAMS) |
|
#define | XNEW(T) ((T *)xmalloc(sizeof(T))) |
|
#define | XCNEW(T) ((T *)xcalloc(1, sizeof(T))) |
|
#define | XDELETE(P) free((void *)(P)) |
|
#define | XNEWVEC(T, N) ((T *)xmalloc(sizeof(T) * (N))) |
|
#define | XCNEWVEC(T, N) ((T *)xcalloc((N), sizeof(T))) |
|
#define | XRESIZEVEC(T, P, N) ((T *)xrealloc((void *)(P), sizeof(T) * (N))) |
|
#define | XDELETEVEC(P) free((void *)(P)) |
|
#define | XNEWVAR(T, S) ((T *)xmalloc((S))) |
|
#define | XCNEWVAR(T, S) ((T *)xcalloc(1, (S))) |
|
#define | XRESIZEVAR(T, P, S) ((T *)xrealloc((P), (S))) |
|
#define | XOBNEW(O, T) ((T *)obstack_alloc((O), sizeof(T))) |
|
#define | XOBFINISH(O, T) ((T)obstack_finish((O))) |
|
#define | _hex_array_size 256 |
|
#define | _hex_bad 99 |
|
#define | hex_p(c) (hex_value(c) != _hex_bad) |
|
#define | hex_value(c) ((unsigned int)_hex_value[(unsigned char)(c)]) |
|
#define | PEX_RECORD_TIMES 0x1 |
|
#define | PEX_USE_PIPES 0x2 |
|
#define | PEX_SAVE_TEMPS 0x4 |
|
#define | PEX_LAST 0x1 |
|
#define | PEX_SEARCH 0x2 |
|
#define | PEX_SUFFIX 0x4 |
|
#define | PEX_STDERR_TO_STDOUT 0x8 |
|
#define | PEX_BINARY_INPUT 0x10 |
|
#define | PEX_BINARY_OUTPUT 0x20 |
|
#define | PEXECUTE_FIRST 1 |
|
#define | PEXECUTE_LAST 2 |
|
#define | PEXECUTE_ONE (PEXECUTE_FIRST + PEXECUTE_LAST) |
|
#define | PEXECUTE_SEARCH 4 |
|
#define | PEXECUTE_VERBOSE 8 |
|
#define | ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) |
|
#define | alloca(x) C_alloca(x) |
|
#define | USE_C_ALLOCA 1 |
|
#define | C_ALLOCA 1 |
|
#define | ASTRDUP(X) |
|
|
void | unlock_stream (FILE *) |
|
void | unlock_std_streams (void) |
|
FILE * | fopen_unlocked (const char *, const char *) |
|
FILE * | fdopen_unlocked (int, const char *) |
|
FILE * | freopen_unlocked (const char *, const char *, FILE *) |
|
char ** | buildargv (const char *) ATTRIBUTE_MALLOC |
|
void | freeargv (char **) |
|
char ** | dupargv (char **) ATTRIBUTE_MALLOC |
|
void expandargv | PARAMS ((int *, char ***)) |
|
const char * | lbasename (const char *) |
|
char * | lrealpath (const char *) |
|
char * | concat (const char *,...) ATTRIBUTE_MALLOC ATTRIBUTE_SENTINEL |
|
char * | reconcat (char *, const char *,...) ATTRIBUTE_MALLOC ATTRIBUTE_SENTINEL |
|
unsigned long | concat_length (const char *,...) ATTRIBUTE_SENTINEL |
|
char * | concat_copy (char *, const char *,...) ATTRIBUTE_SENTINEL |
|
char * | concat_copy2 (const char *,...) ATTRIBUTE_SENTINEL |
|
int | fdmatch (int fd1, int fd2) |
|
char * | getpwd (void) |
|
long | get_run_time (void) |
|
char * | make_relative_prefix (const char *, const char *, const char *) ATTRIBUTE_MALLOC |
|
char * | choose_temp_base (void) ATTRIBUTE_MALLOC |
|
char * | make_temp_file (const char *) ATTRIBUTE_MALLOC |
|
int | unlink_if_ordinary (const char *) |
|
const char * | spaces (int count) |
|
int | errno_max (void) |
|
const char * | strerrno (int) |
|
int | strtoerrno (const char *) |
|
char * | xstrerror (int) |
|
int | signo_max (void) |
|
const char * | strsigno (int) |
|
int | strtosigno (const char *) |
|
int | xatexit (void(*fn)(void)) |
|
void | xexit (int status) ATTRIBUTE_NORETURN |
|
void | xmalloc_set_program_name (const char *) |
|
void | xmalloc_failed (size_t) ATTRIBUTE_NORETURN |
|
void * | xmalloc (size_t) ATTRIBUTE_MALLOC |
|
void * | xrealloc (void *, size_t) |
|
void * | xcalloc (size_t, size_t) ATTRIBUTE_MALLOC |
|
char * | xstrdup (const char *) ATTRIBUTE_MALLOC |
|
char * | xstrndup (const char *, size_t) ATTRIBUTE_MALLOC |
|
void * | xmemdup (const void *, size_t, size_t) ATTRIBUTE_MALLOC |
|
double | physmem_total (void) |
|
double | physmem_available (void) |
|
void | hex_init (void) |
|
struct pex_obj * | pex_init (int flags, const char *pname, const char *tempbase) |
|
const char * | pex_run (struct pex_obj *obj, int flags, const char *executable, char *const *argv, const char *outname, const char *errname, int *err) |
|
FILE * | pex_write_input (struct pex_obj *obj, int binary) |
|
FILE * | pex_input_file (struct pex_obj *obj, int flags, const char *in_name) |
|
FILE * | pex_input_pipe (struct pex_obj *obj, int binary) |
|
FILE * | pex_read_output (struct pex_obj *, int binary) |
|
int | pex_get_status (struct pex_obj *, int count, int *vector) |
|
int | pex_get_times (struct pex_obj *, int count, struct pex_time *vector) |
|
void | pex_free (struct pex_obj *) |
|
const char * | pex_one (int flags, const char *executable, char *const *argv, const char *pname, const char *outname, const char *errname, int *status, int *err) |
|
int | pexecute (const char *, char *const *, const char *, const char *, char **, char **, int) |
|
int | pwait (int, int *, int) |
|
void * | C_alloca (size_t) ATTRIBUTE_MALLOC |
|