#include "ansi.h"
#include <stdio.h>
#include <ctype.h>
#include <sys/types.h>
#include <signal.h>
#include <math.h>
#include <varargs.h>
Go to the source code of this file.
◆ ABS
◆ ALLOC
| #define ALLOC |
( |
| type, |
|
|
| num ) |
Value: ((
type *) MMalloc((
long)
sizeof(
type) * (
long) (num)))
type
CUBE COVER and CUBE typedefs ///.
Definition at line 63 of file util_old.h.
63#define ALLOC(type, num) \
64 ((type *) MMalloc((long) sizeof(type) * (long) (num)))
◆ assert
Value: {\
if (! (ex)) {\
(void) fprintf(stderr,\
"Assertion failed: file %s, line %d\n\"%s\"\n",\
__FILE__, __LINE__, "ex");\
(void) fflush(stdout);\
abort();\
}\
}
Definition at line 213 of file util_old.h.
213# define assert(ex) {\
214 if (! (ex)) {\
215 (void) fprintf(stderr,\
216 "Assertion failed: file %s, line %d\n\"%s\"\n",\
217 __FILE__, __LINE__, "ex");\
218 (void) fflush(stdout);\
219 abort();\
220 }\
221}
◆ fail
Value: {\
(void) fprintf(stderr, "Fatal error: file %s, line %d\n%s\n",\
__FILE__, __LINE__, why);\
(void) fflush(stdout);\
abort();\
}
Definition at line 225 of file util_old.h.
225#define fail(why) {\
226 (void) fprintf(stderr, "Fatal error: file %s, line %d\n%s\n",\
227 __FILE__, __LINE__, why);\
228 (void) fflush(stdout);\
229 abort();\
230}
◆ FREE
Value: ((obj) ? (
free((
void *) (obj)), (obj) = 0) : 0)
Definition at line 67 of file util_old.h.
67#define FREE(obj) \
68 ((obj) ? (free((void *) (obj)), (obj) = 0) : 0)
◆ HUGE
| #define HUGE 8.9884656743115790e+307 |
◆ HUGE_VAL
◆ MAX
◆ MAXINT
◆ MIN
◆ NIL
◆ print_time
◆ ptime
◆ REALLOC
| #define REALLOC |
( |
| type, |
|
|
| obj, |
|
|
| num ) |
Value: ((
type *) MMrealloc((
char *) (obj), (
long)
sizeof(
type) * (
long) (num)))
Definition at line 65 of file util_old.h.
65#define REALLOC(type, obj, num) \
66 ((type *) MMrealloc((char *) (obj), (long) sizeof(type) * (long) (num)))
◆ SIGNAL_FN
◆ VOID_HACK
◆ abort()
◆ ARGS() [1/9]
| EXTERN char *util_tilde_expand ARGS |
( |
(char *) | | ) |
|
◆ ARGS() [2/9]
| EXTERN int util_pipefork ARGS |
( |
(char **, FILE **, FILE **, int *) | | ) |
|
◆ ARGS() [3/9]
| EXTERN int util_save_image ARGS |
( |
(char *, char *) | | ) |
|
◆ ARGS() [4/9]
| EXTERN char *util_file_search ARGS |
( |
(char *, char *, char *) | | ) |
|
◆ ARGS() [5/9]
| EXTERN char *MMrealloc ARGS |
( |
(char *, long) | | ) |
|
◆ ARGS() [6/9]
| EXTERN void util_print_cpu_stats ARGS |
( |
(FILE *) | | ) |
|
◆ ARGS() [7/9]
◆ ARGS() [8/9]
| EXTERN char *util_print_time ARGS |
( |
(long) | | ) |
|
◆ ARGS() [9/9]
| EXTERN FILE *util_tmpfile ARGS |
( |
(void) | | ) |
|
◆ atof()
◆ calloc()
◆ clearerr()
◆ exit()
◆ free()
◆ getenv()
◆ getSoftDataLimit()
| EXTERN long getSoftDataLimit |
( |
| ) |
|
◆ malloc()
◆ memccpy()
◆ memchr()
◆ memcmp()
◆ memcpy()
◆ memmove()
◆ memset()
◆ pclose()
◆ perror()
◆ popen()
◆ random()
◆ realloc()
◆ rewind()
◆ sprintf()
◆ srandom()
◆ strcat()
◆ strchr()
◆ strcmp()
◆ strcoll()
◆ strcpy()
◆ strcspn()
◆ strerror()
◆ strlen()
◆ strncat()
◆ strncmp()
◆ strncpy()
◆ strpbrk()
◆ strrchr()
◆ strspn()
◆ strstr()
◆ strtok()
◆ strxfrm()
◆ system()
◆ tmpfile()
◆ util_optarg
◆ util_optind