31 #define EXTRA_RLIMIT_DATA_DEFAULT 67108864 // assume 64MB by default
101 register const char *place;
109 if (place[0] !=
'-' || place[1] ==
'\0')
return EOF;
111 if (place[1] ==
'-' && place[2] ==
'\0')
return EOF;
116 place =
strchr(optstring, c);
117 if (place == NULL || c ==
':') {
118 (void) fprintf(stderr,
"%s: unknown option %c\n", argv[0], c);
121 if (*++place ==
':') {
127 (void) fprintf(stderr,
"%s: %c requires an argument\n",
153 (void)
sprintf(s,
"%ld.%02ld sec", t/1000, (t%1000)/10);
237 if (
strcmp(mode,
"x") == 0) {
240 fp = fopen(filename, mode);
241 got_file = (fp != 0);
265 char *buffer, *
filename, *save_path, *cp;
267 if (path == 0 ||
strcmp(path,
"") == 0) {
282 if (
strcmp(path,
".") == 0) {
286 (void)
sprintf(buffer,
"%s/%s", path, file);
318 (void) fflush(stdout);
319 (void) fprintf(stderr,
"\nout of memory allocating %u bytes\n",
366 #if defined(NT) || defined(NT64) || defined(WIN32)
375 #include <sys/time.h>
376 #include <sys/resource.h>
384 getrusage(RUSAGE_SELF, &ru);
385 return (
double)ru.ru_utime.tv_sec + (double)ru.ru_utime.tv_usec / 1000000;
#define ABC_ALLOC(type, num)
static abctime Abc_Clock()
#define ABC_NAMESPACE_IMPL_END
#define ABC_NAMESPACE_IMPL_START