Go to the documentation of this file.
65 extern char *dirname(
char *
path);
66 extern int gethostname(
char *
name,
int namelen);
69 extern char *dirname();
70 extern int gethostname();
76 #if (defined(IRIX_5) || defined(IRIX64_6) || (defined(__sgi) && !defined(IRIX_4)))
80 #if defined(_SGI_SOURCE) && !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)
86 extern int gethostname(
char *
name,
int namelen);
87 extern int strcasecmp(
const char *,
const char *);
88 extern int strncasecmp(
const char *,
const char *);
94 #if (defined(IRIX_4) || defined(IRIX_5) || defined(IRIX64_6) || defined(__sgi))
105 extern void bzero(
register char *sp,
int len);
109 #define NEED_SETLINEBUF
116 #define NEED__TIMEZONE
117 #define NEED__ALTZONE
123 #if (!defined(_POSIX_SOURCE) && !defined(__EXTENSIONS__))
129 #define PATH_MAX 1024
136 extern char *
strdup(
const char *);
138 extern void tzset(
void);
139 extern int cftime(
char *,
char *,
const time_t *);
141 extern FILE *
popen(
const char *,
const char *);
142 extern int pclose(FILE *);
153 #if defined(_POSIX_SOURCE) || !defined(__EXTENSION__)
157 #if defined(LINUX) && !(defined(__APPLE__))
165 extern double trunc(
double);
173 #define bzero(p,l) {int i; register char *sp; sp = p ; for (i=0; i < l ; i++) {*sp = 0;sp++;}}
176 #define blkclr(p,l) bzero(p,l)
178 #ifdef NEED_SETLINEBUF
182 #define setlinebuf(lun) setvbuf(lun,NULL,_IOLBF,0)
185 #define trunc(x) (((x) > 0)?floor(x):ceil(x))
192 #define cftime(s,fmt,tick) strftime(s,sizeof(s),fmt,localtime(tick))
195 #ifdef NEED__TIMEZONE
196 #define _timezone timezone
200 #define _altzone altzone
205 #define altzone timezone
FILE * popen(const char *, const char *)
int cftime(char *, char *, const time_t *)
int setlinebuf(FILE *stream)
char * strdup(const char *)