remake  4.3+dbg-1.5
Macros | Typedefs | Functions | Variables
makeint.h File Reference
#include <config.h>
#include "gnuremake.h"
#include <stddef.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <signal.h>
#include <stdio.h>
#include <ctype.h>
#include <time.h>
#include <errno.h>
#include <strings.h>
#include <gettext.h>
#include <glob.h>
#include <alloca.h>
#include <sys/timeb.h>
#include <sys/time.h>
#include <unistd.h>
#include <limits.h>
#include <sys/param.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include <stdint.h>
#include <locale.h>

Go to the source code of this file.

Macros

#define HAVE_CONFIG_H   1
 
#define _GNU_SOURCE   1
 
#define NDEBUG   1
 
#define isblank(c)   ((c) == ' ' || (c) == '\t')
 
#define sigmask(sig)   (1 << ((sig) - 1))
 
#define PATH_MAX   MAXPATHLEN
 
#define MAXPATHLEN   1024
 
#define GET_PATH_MAX   PATH_MAX
 
#define PATH_VAR(var)   char var[PATH_MAX+1]
 
#define CHAR_BIT   8
 
#define USHRT_MAX   65535
 
#define INTEGER_TYPE_SIGNED(t)   ((t) -1 <= 0)
 
#define INTEGER_TYPE_MINIMUM(t)   (! INTEGER_TYPE_SIGNED (t) ? (t) 0 : ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1))
 
#define INTEGER_TYPE_MAXIMUM(t)   (~ (t) 0 - INTEGER_TYPE_MINIMUM (t))
 
#define CHAR_MAX   INTEGER_TYPE_MAXIMUM (char)
 
#define S_ISREG(mode)   (((mode) & S_IFMT) == S_IFREG)
 
#define S_ISDIR(mode)   (((mode) & S_IFMT) == S_IFDIR)
 
#define ATTRIBUTE(x)
 
#define __format__   format
 
#define __printf__   printf
 
#define UNUSED   ATTRIBUTE ((unused))
 
#define NORETURN   ATTRIBUTE ((noreturn))
 
#define ANSI_STRING   1
 
#define EXIT_SUCCESS   0
 
#define EXIT_FAILURE   1
 
#define FILE_TIMESTAMP   uintmax_t
 
#define ISDIGIT(c)   ((unsigned) (c) - '0' <= 9)
 
#define streq(a, b)
 
#define patheq(a, b)   streq(a, b)
 
#define strneq(a, b, l)   (strncmp ((a), (b), (l)) == 0)
 
#define ENUM_BITFIELD(bits)
 
#define _(msgid)   gettext (msgid)
 
#define N_(msgid)   gettext_noop (msgid)
 
#define S_(msg1, msg2, num)   ngettext (msg1,msg2,num)
 
#define ANY_SET(_v, _m)   (((_v)&(_m)) != 0)
 
#define NONE_SET(_v, _m)   (! ANY_SET ((_v),(_m)))
 
#define MAP_NUL   0x0001
 
#define MAP_BLANK   0x0002
 
#define MAP_NEWLINE   0x0004
 
#define MAP_COMMENT   0x0008
 
#define MAP_SEMI   0x0010
 
#define MAP_EQUALS   0x0020
 
#define MAP_COLON   0x0040
 
#define MAP_VARSEP   0x0080
 
#define MAP_PIPE   0x0100
 
#define MAP_DOT   0x0200
 
#define MAP_COMMA   0x0400
 
#define MAP_USERFUNC   0x2000
 
#define MAP_VARIABLE   0x4000
 
#define MAP_DIRSEP   0x8000
 
#define MAP_SPACE   (MAP_BLANK|MAP_NEWLINE)
 
#define MAP_PATHSEP   MAP_COLON
 
#define STOP_SET(_v, _m)   ANY_SET(stopchar_map[(unsigned char)(_v)],(_m))
 
#define ISBLANK(c)   STOP_SET((c),MAP_BLANK)
 
#define ISSPACE(c)   STOP_SET((c),MAP_SPACE)
 
#define NEXT_TOKEN(s)   while (ISSPACE (*(s))) ++(s)
 
#define END_OF_TOKEN(s)   while (! STOP_SET (*(s), MAP_SPACE|MAP_NUL)) ++(s)
 
#define NILF   ((gmk_floc *)0)
 
#define CSTRLEN(_s)   (sizeof (_s)-1)
 
#define STRING_SIZE_TUPLE(_s)   (_s), CSTRLEN(_s)
 
#define INTSTR_LENGTH   CSTRLEN ("18446744073709551616")
 
#define DEFAULT_TTYNAME   "true"
 
#define TTYNAME(_f)   ttyname (_f)
 
#define O(_t, _a, _f)   _t((_a), 0, (_f))
 
#define OS(_t, _a, _f, _s)   _t((_a), strlen (_s), (_f), (_s))
 
#define OSS(_t, _a, _f, _s1, _s2)
 
#define OSSS(_t, _a, _f, _s1, _s2, _s3)
 
#define ON(_t, _a, _f, _n)   _t((_a), INTSTR_LENGTH, (_f), (_n))
 
#define ONN(_t, _a, _f, _n1, _n2)   _t((_a), INTSTR_LENGTH*2, (_f), (_n1), (_n2))
 
#define OSN(_t, _a, _f, _s, _n)
 
#define ONS(_t, _a, _f, _n, _s)
 
#define OUT_OF_MEM()   O (fatal, NILF, _("virtual memory exhausted"))
 
#define xstrlen(_s)   ((_s)==NULL ? 0 : strlen (_s))
 
#define SPIN(_s)
 
#define RECIPEPREFIX_NAME   ".RECIPEPREFIX"
 
#define RECIPEPREFIX_DEFAULT   '\t'
 
#define MIN(_a, _b)   ((_a)<(_b)?(_a):(_b))
 
#define MAX(_a, _b)   ((_a)>(_b)?(_a):(_b))
 
#define MAKE_SUCCESS   0
 
#define MAKE_TROUBLE   1
 
#define MAKE_FAILURE   2
 
#define initialize_main(pargc, pargv)
 
#define EINTRLOOP(_v, _c)   while (((_v)=_c)==-1 && errno==EINTR)
 
#define ENULLLOOP(_v, _c)
 

Typedefs

typedef long int(* ar_member_func_t) (int desc, const char *mem, int truncated, long int hdrpos, long int datapos, long int size, long int date, int uid, int gid, unsigned int mode, const void *arg)
 
typedef int(* load_func_t) (const gmk_floc *flocp)
 

Functions

const char * concat (unsigned int,...)
 
void message (int prefix, size_t length, const char *fmt,...) ATTRIBUTE((__format__(__printf__
 
void void error (const gmk_floc *flocp, size_t length, const char *fmt,...) ATTRIBUTE((__format__(__printf__
 
void void void fatal (const gmk_floc *flocp, size_t length, const char *fmt,...) ATTRIBUTE((noreturn
 
void void void __format__ (__printf__, 3, 4)))
 
void out_of_memory () NORETURN
 
void die (int) NORETURN
 
void pfatal_with_name (const char *) NORETURN
 
void perror_with_name (const char *, const char *)
 
void * xmalloc (size_t)
 
void * xcalloc (size_t)
 
void * xrealloc (void *, size_t)
 
char * xstrdup (const char *)
 
char * xstrndup (const char *, size_t)
 
char * find_next_token (const char **, size_t *)
 
char * next_token (const char *)
 
char * end_of_token (const char *)
 
void collapse_continuations (char *)
 
char * lindex (const char *, const char *, int)
 
int alpha_compare (const void *, const void *)
 
void print_spaces (unsigned int)
 
char * find_percent (char *)
 
const char * find_percent_cached (const char **)
 
FILE * get_tmpfile (char **, const char *)
 
ssize_t writebuf (int, const void *, size_t)
 
ssize_t readbuf (int, void *, size_t)
 
int ar_name (const char *)
 
void ar_parse_name (const char *, char **, char **)
 
int ar_touch (const char *)
 
int ar_member_date (const char *, time_t *)
 
long int ar_scan (const char *archive, ar_member_func_t function, const void *arg)
 
int ar_name_equal (const char *name, const char *mem, int truncated)
 
int ar_member_touch (const char *arname, const char *memname)
 
int dir_file_exists_p (const char *, const char *)
 
int file_exists_p (const char *)
 
int file_impossible_p (const char *)
 
void file_impossible (const char *)
 
const char * dir_name (const char *)
 
void print_dir_data_base (void)
 
void dir_setup_glob (glob_t *)
 
void hash_init_directories (void)
 
void define_default_variables (void)
 
void undefine_default_variables (void)
 
void set_default_suffixes (void)
 
void install_default_suffix_rules (void)
 
void install_default_implicit_rules (void)
 
void build_vpath_lists (void)
 
void construct_vpath_list (char *pattern, char *dirpath)
 
const char * vpath_search (const char *file, FILE_TIMESTAMP *mtime_ptr, unsigned int *vpath_index, unsigned int *path_index)
 
void construct_include_path (const char **arg_dirs)
 
void user_access (void)
 
void make_access (void)
 
void child_access (void)
 
char * strip_whitespace (const char **begpp, const char **endpp)
 
void show_goal_error (void)
 
void strcache_init (void)
 
void strcache_print_stats (const char *prefix)
 
int strcache_iscached (const char *str)
 
const char * strcache_add (const char *str)
 
const char * strcache_add_len (const char *str, size_t len)
 
int strcache_setbufsize (unsigned int size)
 
int guile_gmake_setup (const gmk_floc *flocp)
 
int load_file (const gmk_floc *flocp, const char **filename, int noerror)
 
void unload_file (const char *name)
 
long int atol ()
 
long int lseek ()
 
char * getcwd ()
 
void remote_setup (void)
 
void remote_cleanup (void)
 
int start_remote_job_p (int)
 
int start_remote_job (char **, char **, int, int *, pid_t *, int *)
 
int remote_status (int *, int *, int *, int)
 
void block_remote_children (void)
 
void unblock_remote_children (void)
 
int remote_kill (pid_t id, int sig)
 
void print_variable_data_base (void)
 
void print_vpath_data_base (void)
 

Variables

int errno
 
const gmk_flocreading_file
 
const gmk_floc ** expanding_var
 
char ** environ
 
unsigned short stopchar_map []
 
int just_print_flag
 
int run_silent
 
int ignore_errors_flag
 
int keep_going_flag
 
int print_data_base_flag
 
int question_flag
 
int touch_flag
 
int always_make_flag
 
int env_overrides
 
int no_builtin_rules_flag
 
int no_builtin_variables_flag
 
int print_version_flag
 
int print_directory_flag
 
int check_symlink_flag
 
int warn_undefined_variables_flag
 
int trace_flag
 
int posix_pedantic
 
int not_parallel
 
int second_expansion
 
int clock_skew_detected
 
int rebuilding_makefiles
 
int one_shell
 
int output_sync
 
int verify_flag
 
int batch_mode_shell
 
char cmd_prefix
 
unsigned int job_slots
 
int job_fds [2]
 
int job_rfd
 
double max_load_average
 
const char * program
 
char * starting_directory
 
unsigned int makelevel
 
char * version_string
 
char * remote_description
 
char * make_host
 
unsigned int commands_started
 
int handling_fatal_signal
 

Macro Definition Documentation

◆ _

#define _ (   msgid)    gettext (msgid)

◆ __format__

#define __format__   format

◆ __printf__

#define __printf__   printf

◆ _GNU_SOURCE

#define _GNU_SOURCE   1

◆ ANSI_STRING

#define ANSI_STRING   1

◆ ANY_SET

#define ANY_SET (   _v,
  _m 
)    (((_v)&(_m)) != 0)

◆ ATTRIBUTE

#define ATTRIBUTE (   x)

◆ CHAR_BIT

#define CHAR_BIT   8

◆ CHAR_MAX

#define CHAR_MAX   INTEGER_TYPE_MAXIMUM (char)

◆ CSTRLEN

#define CSTRLEN (   _s)    (sizeof (_s)-1)

◆ DEFAULT_TTYNAME

#define DEFAULT_TTYNAME   "true"

◆ EINTRLOOP

#define EINTRLOOP (   _v,
  _c 
)    while (((_v)=_c)==-1 && errno==EINTR)

◆ END_OF_TOKEN

#define END_OF_TOKEN (   s)    while (! STOP_SET (*(s), MAP_SPACE|MAP_NUL)) ++(s)

◆ ENULLLOOP

#define ENULLLOOP (   _v,
  _c 
)
Value:
do { errno = 0; (_v) = _c; } \
while((_v)==0 && errno==EINTR)
int errno

◆ ENUM_BITFIELD

#define ENUM_BITFIELD (   bits)

◆ EXIT_FAILURE

#define EXIT_FAILURE   1

◆ EXIT_SUCCESS

#define EXIT_SUCCESS   0

◆ FILE_TIMESTAMP

#define FILE_TIMESTAMP   uintmax_t

◆ GET_PATH_MAX

#define GET_PATH_MAX   PATH_MAX

◆ HAVE_CONFIG_H

#define HAVE_CONFIG_H   1

◆ initialize_main

#define initialize_main (   pargc,
  pargv 
)

◆ INTEGER_TYPE_MAXIMUM

#define INTEGER_TYPE_MAXIMUM (   t)    (~ (t) 0 - INTEGER_TYPE_MINIMUM (t))

◆ INTEGER_TYPE_MINIMUM

#define INTEGER_TYPE_MINIMUM (   t)    (! INTEGER_TYPE_SIGNED (t) ? (t) 0 : ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1))

◆ INTEGER_TYPE_SIGNED

#define INTEGER_TYPE_SIGNED (   t)    ((t) -1 <= 0)

◆ INTSTR_LENGTH

#define INTSTR_LENGTH   CSTRLEN ("18446744073709551616")

◆ isblank

#define isblank (   c)    ((c) == ' ' || (c) == '\t')

◆ ISBLANK

#define ISBLANK (   c)    STOP_SET((c),MAP_BLANK)

◆ ISDIGIT

#define ISDIGIT (   c)    ((unsigned) (c) - '0' <= 9)

◆ ISSPACE

#define ISSPACE (   c)    STOP_SET((c),MAP_SPACE)

◆ MAKE_FAILURE

#define MAKE_FAILURE   2

◆ MAKE_SUCCESS

#define MAKE_SUCCESS   0

◆ MAKE_TROUBLE

#define MAKE_TROUBLE   1

◆ MAP_BLANK

#define MAP_BLANK   0x0002

◆ MAP_COLON

#define MAP_COLON   0x0040

◆ MAP_COMMA

#define MAP_COMMA   0x0400

◆ MAP_COMMENT

#define MAP_COMMENT   0x0008

◆ MAP_DIRSEP

#define MAP_DIRSEP   0x8000

◆ MAP_DOT

#define MAP_DOT   0x0200

◆ MAP_EQUALS

#define MAP_EQUALS   0x0020

◆ MAP_NEWLINE

#define MAP_NEWLINE   0x0004

◆ MAP_NUL

#define MAP_NUL   0x0001

◆ MAP_PATHSEP

#define MAP_PATHSEP   MAP_COLON

◆ MAP_PIPE

#define MAP_PIPE   0x0100

◆ MAP_SEMI

#define MAP_SEMI   0x0010

◆ MAP_SPACE

#define MAP_SPACE   (MAP_BLANK|MAP_NEWLINE)

◆ MAP_USERFUNC

#define MAP_USERFUNC   0x2000

◆ MAP_VARIABLE

#define MAP_VARIABLE   0x4000

◆ MAP_VARSEP

#define MAP_VARSEP   0x0080

◆ MAX

#define MAX (   _a,
  _b 
)    ((_a)>(_b)?(_a):(_b))

◆ MAXPATHLEN

#define MAXPATHLEN   1024

◆ MIN

#define MIN (   _a,
  _b 
)    ((_a)<(_b)?(_a):(_b))

◆ N_

#define N_ (   msgid)    gettext_noop (msgid)

◆ NDEBUG

#define NDEBUG   1

◆ NEXT_TOKEN

#define NEXT_TOKEN (   s)    while (ISSPACE (*(s))) ++(s)

◆ NILF

#define NILF   ((gmk_floc *)0)

◆ NONE_SET

#define NONE_SET (   _v,
  _m 
)    (! ANY_SET ((_v),(_m)))

◆ NORETURN

#define NORETURN   ATTRIBUTE ((noreturn))

◆ O

#define O (   _t,
  _a,
  _f 
)    _t((_a), 0, (_f))

◆ ON

#define ON (   _t,
  _a,
  _f,
  _n 
)    _t((_a), INTSTR_LENGTH, (_f), (_n))

◆ ONN

#define ONN (   _t,
  _a,
  _f,
  _n1,
  _n2 
)    _t((_a), INTSTR_LENGTH*2, (_f), (_n1), (_n2))

◆ ONS

#define ONS (   _t,
  _a,
  _f,
  _n,
  _s 
)
Value:
_t((_a), INTSTR_LENGTH + strlen (_s), \
(_f), (_n), (_s))
#define INTSTR_LENGTH
Definition: makeint.h:467

◆ OS

#define OS (   _t,
  _a,
  _f,
  _s 
)    _t((_a), strlen (_s), (_f), (_s))

◆ OSN

#define OSN (   _t,
  _a,
  _f,
  _s,
  _n 
)
Value:
_t((_a), strlen (_s) + INTSTR_LENGTH, \
(_f), (_s), (_n))
#define INTSTR_LENGTH
Definition: makeint.h:467

◆ OSS

#define OSS (   _t,
  _a,
  _f,
  _s1,
  _s2 
)
Value:
_t((_a), strlen (_s1) + strlen (_s2), \
(_f), (_s1), (_s2))

◆ OSSS

#define OSSS (   _t,
  _a,
  _f,
  _s1,
  _s2,
  _s3 
)
Value:
_t((_a), strlen (_s1) + strlen (_s2) + strlen (_s3), \
(_f), (_s1), (_s2), (_s3))

◆ OUT_OF_MEM

#define OUT_OF_MEM ( )    O (fatal, NILF, _("virtual memory exhausted"))

◆ PATH_MAX

#define PATH_MAX   MAXPATHLEN

◆ PATH_VAR

#define PATH_VAR (   var)    char var[PATH_MAX+1]

◆ patheq

#define patheq (   a,
 
)    streq(a, b)

◆ RECIPEPREFIX_DEFAULT

#define RECIPEPREFIX_DEFAULT   '\t'

◆ RECIPEPREFIX_NAME

#define RECIPEPREFIX_NAME   ".RECIPEPREFIX"

◆ S_

#define S_ (   msg1,
  msg2,
  num 
)    ngettext (msg1,msg2,num)

◆ S_ISDIR

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

◆ S_ISREG

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

◆ sigmask

#define sigmask (   sig)    (1 << ((sig) - 1))

◆ SPIN

#define SPIN (   _s)

◆ STOP_SET

#define STOP_SET (   _v,
  _m 
)    ANY_SET(stopchar_map[(unsigned char)(_v)],(_m))

◆ streq

#define streq (   a,
 
)
Value:
((a) == (b) || \
(*(a) == *(b) && (*(a) == '\0' || !strcmp ((a) + 1, (b) + 1))))

◆ STRING_SIZE_TUPLE

#define STRING_SIZE_TUPLE (   _s)    (_s), CSTRLEN(_s)

◆ strneq

#define strneq (   a,
  b,
 
)    (strncmp ((a), (b), (l)) == 0)

◆ TTYNAME

#define TTYNAME (   _f)    ttyname (_f)

◆ UNUSED

#define UNUSED   ATTRIBUTE ((unused))

◆ USHRT_MAX

#define USHRT_MAX   65535

◆ xstrlen

#define xstrlen (   _s)    ((_s)==NULL ? 0 : strlen (_s))

Typedef Documentation

◆ ar_member_func_t

typedef long int(* ar_member_func_t) (int desc, const char *mem, int truncated, long int hdrpos, long int datapos, long int size, long int date, int uid, int gid, unsigned int mode, const void *arg)

◆ load_func_t

typedef int(* load_func_t) (const gmk_floc *flocp)

Function Documentation

◆ __format__()

void void void __format__ ( __printf__  ,
,
 
)

◆ alpha_compare()

int alpha_compare ( const void *  ,
const void *   
)

◆ ar_member_date()

int ar_member_date ( const char *  ,
time_t *   
)

◆ ar_member_touch()

int ar_member_touch ( const char *  arname,
const char *  memname 
)

◆ ar_name()

int ar_name ( const char *  )

◆ ar_name_equal()

int ar_name_equal ( const char *  name,
const char *  mem,
int  truncated 
)

◆ ar_parse_name()

void ar_parse_name ( const char *  ,
char **  ,
char **   
)

◆ ar_scan()

long int ar_scan ( const char *  archive,
ar_member_func_t  function,
const void *  arg 
)

◆ ar_touch()

int ar_touch ( const char *  )

◆ atol()

long int atol ( )

◆ block_remote_children()

void block_remote_children ( void  )

◆ build_vpath_lists()

void build_vpath_lists ( void  )

◆ child_access()

void child_access ( void  )

◆ collapse_continuations()

void collapse_continuations ( char *  )

◆ concat()

const char* concat ( unsigned  int,
  ... 
)

◆ construct_include_path()

void construct_include_path ( const char **  arg_dirs)

◆ construct_vpath_list()

void construct_vpath_list ( char *  pattern,
char *  dirpath 
)

◆ define_default_variables()

void define_default_variables ( void  )

◆ die()

void die ( int  )

◆ dir_file_exists_p()

int dir_file_exists_p ( const char *  ,
const char *   
)

◆ dir_name()

const char* dir_name ( const char *  )

◆ dir_setup_glob()

void dir_setup_glob ( glob_t *  )

◆ end_of_token()

char* end_of_token ( const char *  )

◆ error()

void void error ( const gmk_floc flocp,
size_t  length,
const char *  fmt,
  ... 
)

◆ fatal()

void void void fatal ( const gmk_floc flocp,
size_t  length,
const char *  fmt,
  ... 
)

◆ file_exists_p()

int file_exists_p ( const char *  )

◆ file_impossible()

void file_impossible ( const char *  )

◆ file_impossible_p()

int file_impossible_p ( const char *  )

◆ find_next_token()

char* find_next_token ( const char **  ,
size_t *   
)

◆ find_percent()

char* find_percent ( char *  )

◆ find_percent_cached()

const char* find_percent_cached ( const char **  )

◆ get_tmpfile()

FILE* get_tmpfile ( char **  ,
const char *   
)

◆ getcwd()

char* getcwd ( )

◆ guile_gmake_setup()

int guile_gmake_setup ( const gmk_floc flocp)

◆ hash_init_directories()

void hash_init_directories ( void  )

◆ install_default_implicit_rules()

void install_default_implicit_rules ( void  )

◆ install_default_suffix_rules()

void install_default_suffix_rules ( void  )

◆ lindex()

char* lindex ( const char *  ,
const char *  ,
int   
)

◆ load_file()

int load_file ( const gmk_floc flocp,
const char **  filename,
int  noerror 
)

◆ lseek()

long int lseek ( )

◆ make_access()

void make_access ( void  )

◆ message()

void message ( int  prefix,
size_t  length,
const char *  fmt,
  ... 
)

◆ next_token()

char* next_token ( const char *  )

◆ out_of_memory()

void out_of_memory ( )

◆ perror_with_name()

void perror_with_name ( const char *  ,
const char *   
)

◆ pfatal_with_name()

void pfatal_with_name ( const char *  )

◆ print_dir_data_base()

void print_dir_data_base ( void  )

◆ print_spaces()

void print_spaces ( unsigned  int)

◆ print_variable_data_base()

void print_variable_data_base ( void  )

Referenced by dbg_cmd_info().

◆ print_vpath_data_base()

void print_vpath_data_base ( void  )

Referenced by dbg_cmd_info().

◆ readbuf()

ssize_t readbuf ( int  ,
void *  ,
size_t   
)

◆ remote_cleanup()

void remote_cleanup ( void  )

◆ remote_kill()

int remote_kill ( pid_t  id,
int  sig 
)

◆ remote_setup()

void remote_setup ( void  )

◆ remote_status()

int remote_status ( int *  ,
int *  ,
int *  ,
int   
)

◆ set_default_suffixes()

void set_default_suffixes ( void  )

◆ show_goal_error()

void show_goal_error ( void  )

◆ start_remote_job()

int start_remote_job ( char **  ,
char **  ,
int  ,
int *  ,
pid_t *  ,
int *   
)

◆ start_remote_job_p()

int start_remote_job_p ( int  )

◆ strcache_add()

const char* strcache_add ( const char *  str)

◆ strcache_add_len()

const char* strcache_add_len ( const char *  str,
size_t  len 
)

◆ strcache_init()

void strcache_init ( void  )

◆ strcache_iscached()

int strcache_iscached ( const char *  str)

◆ strcache_print_stats()

void strcache_print_stats ( const char *  prefix)

◆ strcache_setbufsize()

int strcache_setbufsize ( unsigned int  size)

◆ strip_whitespace()

char* strip_whitespace ( const char **  begpp,
const char **  endpp 
)

◆ unblock_remote_children()

void unblock_remote_children ( void  )

◆ undefine_default_variables()

void undefine_default_variables ( void  )

◆ unload_file()

void unload_file ( const char *  name)

◆ user_access()

void user_access ( void  )

◆ vpath_search()

const char* vpath_search ( const char *  file,
FILE_TIMESTAMP mtime_ptr,
unsigned int *  vpath_index,
unsigned int *  path_index 
)

◆ writebuf()

ssize_t writebuf ( int  ,
const void *  ,
size_t   
)

◆ xcalloc()

void* xcalloc ( size_t  )

◆ xmalloc()

void* xmalloc ( size_t  )

◆ xrealloc()

void* xrealloc ( void *  ,
size_t   
)

◆ xstrdup()

char* xstrdup ( const char *  )

◆ xstrndup()

char* xstrndup ( const char *  ,
size_t   
)

Variable Documentation

◆ always_make_flag

int always_make_flag

◆ batch_mode_shell

int batch_mode_shell

◆ check_symlink_flag

int check_symlink_flag

◆ clock_skew_detected

int clock_skew_detected

◆ cmd_prefix

char cmd_prefix

◆ commands_started

unsigned int commands_started

◆ env_overrides

int env_overrides

◆ environ

char** environ

◆ errno

int errno

◆ expanding_var

const gmk_floc** expanding_var

◆ handling_fatal_signal

int handling_fatal_signal

◆ ignore_errors_flag

int ignore_errors_flag

◆ job_fds

int job_fds[2]

◆ job_rfd

int job_rfd

◆ job_slots

unsigned int job_slots

◆ just_print_flag

int just_print_flag

◆ keep_going_flag

int keep_going_flag

◆ make_host

char * make_host

◆ makelevel

unsigned int makelevel

◆ max_load_average

double max_load_average

◆ no_builtin_rules_flag

int no_builtin_rules_flag

◆ no_builtin_variables_flag

int no_builtin_variables_flag

◆ not_parallel

int not_parallel

◆ one_shell

int one_shell

◆ output_sync

int output_sync

◆ posix_pedantic

int posix_pedantic

◆ print_data_base_flag

int print_data_base_flag

◆ print_directory_flag

int print_directory_flag

◆ print_version_flag

int print_version_flag

◆ program

const char* program

◆ question_flag

int question_flag

◆ reading_file

const gmk_floc* reading_file

◆ rebuilding_makefiles

int rebuilding_makefiles

◆ remote_description

char * remote_description

◆ run_silent

int run_silent

◆ second_expansion

int second_expansion

◆ starting_directory

char* starting_directory

◆ stopchar_map

unsigned short stopchar_map[]

◆ touch_flag

int touch_flag

◆ trace_flag

int trace_flag

◆ verify_flag

int verify_flag

◆ version_string

char* version_string

◆ warn_undefined_variables_flag

int warn_undefined_variables_flag