simplify-rtx.c (simplify_rtx): Use simplify_subreg rather than simplify_gen_subreg.
[official-gcc.git] / gcc / sys-protos.h
blob3f06f274e15dbf6ad9092fb649e3a895eaa4742f
1 extern int TLappend(/* ??? */);
2 extern int TLassign(/* ??? */);
3 extern int TLclose(/* ??? */);
4 extern int TLdelete(/* ??? */);
5 extern int TLfreeentry(/* ??? */);
6 extern ENTRY TLgetentry(/* ??? */);
7 extern unsigned char * TLgetfield(/* ??? */);
8 extern int TLopen(/* ??? */);
9 extern int TLread(/* ??? */);
10 extern int TLsearch1(/* ??? */);
11 extern int TLsubst(/* ??? */);
12 extern int TLsync(/* ??? */);
13 extern int TLwrite(/* ??? */);
14 extern int __acancel(int, const long int *, int);
15 extern int __aread(int, int, char *, uint, ecb_t *);
16 extern void __assert(const char *, const char *, int);
17 extern int __asyncio(int, aioop_t *, int);
18 extern int __awrite(int, int, char *, uint, ecb_t *);
19 extern int __evcntl(evver_t, evcntlcmds_t, long int, long int);
20 extern int __evexit(evver_t, idtype_t, id_t, const ecb_t *);
21 extern int __evexitset(evver_t, const procset_t *, hostid_t, const ecb_t *);
22 extern int __evpoll(evver_t, evpollcmds_t, event_t *, int, const hrtime_t *);
23 extern int __evpollmore(evver_t, event_t *, int);
24 extern int __evpost(evver_t, event_t *, int, int);
25 extern int __evqcntl(evver_t, int, evqcntlcmds_t, long int);
26 extern int __evsig(evver_t, const sigset_t *, const ecb_t *, evsiginfo_t *, int);
27 extern int __evtrap(evver_t, evpollcmds_t, event_t *, int, long int, void (*) (event_t *, int, long int, evcontext_t *), const evta_t *);
28 extern int __evtrapcancel(evver_t, long int *, int);
29 extern int __filbuf(FILE *);
30 extern int __flsbuf(int, FILE *);
31 extern major_t __major(int, dev_t);
32 extern dev_t __makedev(int, major_t, minor_t);
33 extern minor_t __minor(int, dev_t);
34 extern long int __priocntl(/* ??? */);
35 extern long int __priocntlset(/* ??? */);
36 extern void _exit(int);
37 extern int _filbuf(FILE *);
38 extern int _flsbuf(unsigned int, FILE *);
39 extern int _fxstat(int, int, struct stat *);
40 extern u_long _getlong(/* ??? */);
41 extern u_short _getshort(/* ??? */);
42 extern int _getsyx(int *, int *);
43 extern int _longjmp(jmp_buf, int);
44 extern int _lxstat(int, const char *, struct stat *);
45 extern int _meta(int);
46 extern struct nd_hostservlist _netdir_getbyaddr(struct netconfig *, struct netbuf *);
47 extern struct nd_addrlist * _netdir_getbyname(struct netconfig *, struct nd_hostserv *);
48 extern int _overlay(WINDOW *, WINDOW *, int);
49 extern int _ring(int);
50 extern int _rpc_dtbsize(/* ??? */);
51 extern int _rpc_endconf(/* ??? */);
52 extern u_int _rpc_get_a_size(/* ??? */);
53 extern u_int _rpc_get_t_size(/* ??? */);
54 extern struct netconfig * _rpc_getconf(/* ??? */);
55 extern struct netconfig * _rpc_getconfip(/* ??? */);
56 extern char * _rpc_gethostname(/* ??? */);
57 extern int _rpc_setconf(/* ??? */);
58 extern void _s_aligned_copy(/* ??? */);
59 extern struct _si_user * _s_checkfd(/* ??? */);
60 extern void _s_close(/* ??? */);
61 extern int _s_do_ioctl(/* ??? */);
62 extern int _s_getfamily(/* ??? */);
63 extern int _s_getudata(/* ??? */);
64 extern int _s_is_ok(/* ??? */);
65 extern struct netconfig * _s_match(/* ??? */);
66 extern int _s_max(/* ??? */);
67 extern int _s_min(/* ??? */);
68 extern struct _si_user * _s_open(/* ??? */);
69 extern int _s_soreceive(/* ??? */);
70 extern int _s_sosend(/* ??? */);
71 extern int _s_uxpathlen(/* ??? */);
72 extern int _setecho(int);
73 extern int _setjmp(jmp_buf);
74 extern int _setnonl(int);
75 extern void _setqiflush(int);
76 extern char * _taddr2uaddr(struct netconfig *, struct netbuf *);
77 extern int _tolower(int);
78 extern int _toupper(int);
79 extern struct netbuf * _uaddr2taddr(struct netconfig *, char *);
80 extern bool _xdr_yprequest(/* ??? */);
81 extern bool _xdr_ypresponse(/* ??? */);
82 extern int _xftw(int, const char *, int (*) (const char *, const struct stat *, int), int);
83 extern int _xmknod(int, const char *, mode_t, dev_t);
84 extern int _xstat(int, const char *, struct stat *);
85 extern int _yp_dobind(/* ??? */);
86 extern long int a64l(const char *);
87 extern char * aatos(char *, struct address *, int);
88 extern void abort(void);
89 extern int abs(int);
90 extern int access(const char *, int);
91 extern int acct(const char *);
92 extern double acos(double);
93 extern float acosf(float);
94 extern double acosh(double);
95 extern int addexportent(FILE *, char *, char *);
96 extern int addseverity(int, const char *);
97 extern int adjtime(struct timeval *, struct timeval *);
98 extern int advance(const char *, const char *);
99 extern unsigned int alarm(unsigned int);
100 extern void * alloca(size_t);
101 extern int and(void);
102 extern int ascftime(char *, const char *, const struct tm *);
103 extern char * asctime(const struct tm *);
104 extern double asin(double);
105 extern float asinf(float);
106 extern double asinh(double);
107 extern struct address * astoa(char *, struct address *);
108 extern double atan(double);
109 extern double atan2(double, double);
110 extern float atan2f(float, float);
111 extern float atanf(float);
112 extern double atanh(double);
113 extern int atexit(void (*) (void));
114 extern double atof(const char *);
115 extern int atoi(const char *);
116 extern long int atol(const char *);
117 extern char * atos(char *, struct netbuf *, int);
118 extern void auth_destroy(AUTH *);
119 extern AUTH * authdes_create(/* ??? */);
120 extern void authdes_getcred(struct authdes_cred *, short *, short *, short *, int *);
121 extern AUTH * authdes_seccreate(/* ??? */);
122 extern AUTH * authnone_create(void);
123 extern AUTH * authsys_create(char *, int, int, int, int *);
124 extern AUTH * authsys_create_default(void);
125 extern AUTH * authunix_create(char *, int, int, int, int *);
126 extern AUTH * authunix_create_default(void);
127 extern char * basename(char *);
128 extern int baudrate(void);
129 extern int bcmp(const void *, const void *, size_t);
130 extern void bcopy(const void *, void *, size_t);
131 extern int beep(void);
132 extern void (* berk_signal(int, void (*) (int, ...))) (int, ...);
133 extern char * bgets(char *, size_t, FILE *, char *);
134 extern int bottom_panel(PANEL *);
135 extern int box32(WINDOW *, chtype, chtype);
136 extern int brk(void *);
137 extern void * bsearch(const void *, const void *, size_t, size_t, int (*) (const void *, const void *));
138 extern size_t bufsplit(char *, size_t, char *);
139 extern void bzero(void *, size_t);
140 extern long int calchash(/* ??? */);
141 extern void * calloc(size_t, size_t);
142 extern void callrpc(char *, unsigned long, unsigned long, unsigned long, xdrproc_t, char *, xdrproc_t, char *);
143 extern bool can_change_color(void);
144 extern int catclose(nl_catd);
145 extern char * catgets(nl_catd, int, int, char *);
146 extern nl_catd catopen(const char *, int);
147 extern int cbreak(void);
148 extern double cbrt(double);
149 extern double ceil(double);
150 extern float ceilf(float);
151 extern speed_t cfgetispeed(const struct termios *);
152 extern speed_t cfgetospeed(const struct termios *);
153 extern void cfree(void *);
154 extern int cfsetispeed(struct termios *, speed_t);
155 extern int cfsetospeed(struct termios *, speed_t);
156 extern int cftime(char *, char *, const time_t *);
157 extern int chdir(const char *);
158 extern int chmod(const char *, mode_t);
159 extern int chown(const char *, uid_t, gid_t);
160 extern int chroot(const char *);
161 extern void clean_GEN_rd(/* ??? */);
162 extern void cleanup(/* ??? */);
163 extern void clearerr(FILE *);
164 extern int clearok(WINDOW *, int);
165 extern enum clnt_stat clnt_broadcast(unsigned long, unsigned long, unsigned long, xdrproc_t, char *, xdrproc_t, char *, resultproc_t);
166 extern enum clnt_stat clnt_call(CLIENT *, unsigned long, xdrproc_t, char *, xdrproc_t, char *, struct timeval);
167 extern bool_t clnt_control(CLIENT *, int, char *);
168 extern CLIENT * clnt_create(char *, unsigned long, unsigned long, char *);
169 extern void clnt_destroy(CLIENT *);
170 extern int clnt_freeres(CLIENT *, xdrproc_t, char *);
171 extern void clnt_geterr(CLIENT *, struct rpc_err *);
172 extern void clnt_pcreateerror(char *);
173 extern void clnt_perrno(enum clnt_stat);
174 extern void clnt_perror(CLIENT *, char *);
175 extern char * clnt_spcreateerror(char *);
176 extern char * clnt_sperrno(enum clnt_stat);
177 extern char * clnt_sperror(CLIENT *, char *);
178 extern CLIENT * clnt_tli_create(/* ??? */);
179 extern CLIENT * clnt_tp_create(/* ??? */);
180 extern CLIENT * clnt_vc_create(/* ??? */);
181 extern CLIENT * clntraw_create(unsigned long, unsigned long);
182 extern CLIENT * clnttcp_create(struct sockaddr_in *, unsigned long, unsigned long, int *, unsigned int, unsigned int *);
183 extern CLIENT * clntudp_bufcreate(struct sockaddr_in *, unsigned long, unsigned long, struct timeval, int *, unsigned int, unsigned int);
184 extern CLIENT * clntudp_create(struct sockaddr_in *, unsigned long, unsigned long, struct timeval, int *);
185 extern clock_t clock(void);
186 extern int close(int);
187 extern int closedir(DIR *);
188 extern int color_content(int, short int *, short int *, short int *);
189 extern char * compile(const char *, char *, char *);
190 extern char * copylist(const char *, off_t *);
191 extern double copysign(double, double);
192 extern int copywin(WINDOW *, WINDOW *, int, int, int, int, int, int, int);
193 extern double cos(double);
194 extern float cosf(float);
195 extern double cosh(double);
196 extern float coshf(float);
197 extern struct rd_user * cr_rduser(/* ??? */);
198 extern int creat(const char *, mode_t);
199 extern int crmode(void);
200 extern char * crypt(const char *, const char *);
201 extern int crypt_close(int *);
202 extern char * ctermid(char *);
203 extern char * ctime(const time_t *);
204 extern FIELD * current_field(FORM *);
205 extern ITEM * current_item(MENU *);
206 extern int curs_set(int);
207 extern void curserr(void);
208 extern char * cuserid(char *);
209 extern int data_ahead(FORM *);
210 extern int data_behind(FORM *);
211 extern void dbmclose(void);
212 extern void dbminit(const char *);
213 extern int def_prog_mode(void);
214 extern int def_shell_mode(void);
215 extern char * defread(/* ??? */);
216 extern int del_panel(PANEL *);
217 extern void del_rduser(/* ??? */);
218 extern void delay(long int);
219 extern int delay_output(int);
220 extern void delete(datum);
221 extern void delscreen(SCREEN *);
222 extern int delterm(TERMINAL *);
223 extern int delwin(WINDOW *);
224 extern WINDOW * derwin(WINDOW *, int, int, int, int);
225 extern char * des_crypt(const char *, const char *);
226 extern void des_encrypt(char *, int);
227 extern void des_setkey(const char *);
228 extern char * devattr(/* ??? */);
229 extern int devfree(/* ??? */);
230 extern char ** devreserv(/* ??? */);
231 extern int dial(CALL);
232 extern double difftime(time_t, time_t);
233 extern char * dirname(char *);
234 extern div_t div(int, int);
235 extern int dlclose(void *);
236 extern char * dlerror(void);
237 extern void * dlopen(char *, int);
238 extern void * dlsym(void *, char *);
239 extern void dma_access(u_char, u_int, u_int, u_char, u_char);
240 extern int doupdate(void);
241 extern int drainio(int);
242 extern double drand48(void);
243 extern double drem(double, double);
244 extern int drv_getevtoken(/* ??? */);
245 extern void drv_relevtoken(/* ??? */);
246 extern int dup(int);
247 extern int dup2(int, int);
248 extern FIELD * dup_field(FIELD *, int, int);
249 extern WINDOW * dupwin(WINDOW *);
250 extern int dynamic_field_info(FIELD *, int *, int *, int *);
251 extern int dysize(int);
252 extern int eaccess(const char *, int);
253 extern int echo(void);
254 extern char * ecvt(double, int, int *, int *);
255 extern size_t elf32_fsize(Elf_Type, size_t, unsigned int);
256 extern Elf32_Ehdr * elf32_getehdr(Elf *);
257 extern Elf32_Phdr * elf32_getphdr(Elf *);
258 extern Elf32_Shdr * elf32_getshdr(Elf_Scn *);
259 extern Elf32_Ehdr * elf32_newehdr(Elf *);
260 extern Elf32_Phdr * elf32_newphdr(Elf *, size_t);
261 extern Elf_Data * elf32_xlatetof(Elf_Data *, const Elf_Data *, unsigned int);
262 extern Elf_Data * elf32_xlatetom(Elf_Data *, const Elf_Data *, unsigned int);
263 extern Elf * elf_begin(int, Elf_Cmd, Elf *);
264 extern int elf_cntl(Elf *, Elf_Cmd);
265 extern int elf_end(Elf *);
266 extern const char * elf_errmsg(int);
267 extern int elf_errno(void);
268 extern void elf_fill(int);
269 extern unsigned int elf_flagdata(Elf_Data *, Elf_Cmd, unsigned int);
270 extern unsigned int elf_flagehdr(Elf *, Elf_Cmd, unsigned int);
271 extern unsigned int elf_flagelf(Elf *, Elf_Cmd, unsigned int);
272 extern unsigned int elf_flagphdr(Elf *, Elf_Cmd, unsigned int);
273 extern unsigned int elf_flagscn(Elf_Scn *, Elf_Cmd, unsigned int);
274 extern unsigned int elf_flagshdr(Elf_Scn *, Elf_Cmd, unsigned int);
275 extern Elf_Arhdr * elf_getarhdr(Elf *);
276 extern Elf_Arsym * elf_getarsym(Elf *, size_t *);
277 extern off_t elf_getbase(Elf *);
278 extern Elf_Data * elf_getdata(Elf_Scn *, Elf_Data *);
279 extern char * elf_getident(Elf *, size_t *);
280 extern Elf_Scn * elf_getscn(Elf *, size_t);
281 extern long unsigned int elf_hash(const char *);
282 extern Elf_Kind elf_kind(Elf *);
283 extern size_t elf_ndxscn(Elf_Scn *);
284 extern Elf_Data * elf_newdata(Elf_Scn *);
285 extern Elf_Scn * elf_newscn(Elf *);
286 extern Elf_Cmd elf_next(Elf *);
287 extern Elf_Scn * elf_nextscn(Elf *, Elf_Scn *);
288 extern size_t elf_rand(Elf *, size_t);
289 extern Elf_Data * elf_rawdata(Elf_Scn *, Elf_Data *);
290 extern char * elf_rawfile(Elf *, size_t *);
291 extern char * elf_strptr(Elf *, size_t, size_t);
292 extern off_t elf_update(Elf *, Elf_Cmd);
293 extern unsigned int elf_version(unsigned int);
294 extern void encrypt(char *, int);
295 extern void endgrent(void);
296 extern int endnetconfig(void *);
297 extern int endnetpath(void *);
298 extern void endpwent(void);
299 extern void endrpcent(void);
300 extern void endspent(void);
301 extern void endutent(void);
302 extern void endutxent(void);
303 extern int endwin(void);
304 extern double erand(short *);
305 extern double erand48(short unsigned int *);
306 extern char erasechar(void);
307 extern double erf(double);
308 extern double erfc(double);
309 extern int execl(const char *, const char *, ...);
310 extern int execle(const char *, const char *, ...);
311 extern int execlp(const char *, const char *, ...);
312 extern int exect(const char *, const char **, char **);
313 extern int execv(const char *, char *const *);
314 extern int execve(const char *, char *const *, char *const *);
315 extern int execvp(const char *, char *const *);
316 extern void exit(int);
317 extern double exp(double);
318 extern float expf(float);
319 extern double fabs(double);
320 extern float fabsf(float);
321 extern int fattach(int, const char *);
322 extern int fchdir(int);
323 extern int fchmod(int, mode_t);
324 extern int fchown(int, uid_t, gid_t);
325 extern int fclose(FILE *);
326 extern int fcntl(int, int, ...);
327 extern char * fcvt(double, int, int *, int *);
328 extern int fdetach(const char *);
329 extern FILE * fdopen(int, const char *);
330 extern int feof(FILE *);
331 extern int ferror(FILE *);
332 extern datum fetch(datum);
333 extern int fflush(FILE *);
334 extern int ffs(int);
335 extern int fgetc(FILE *);
336 extern struct group * fgetgrent(FILE *);
337 extern int fgetpos(FILE *, fpos_t *);
338 extern struct passwd * fgetpwent(FILE *);
339 extern char * fgets(char *, int, FILE *);
340 extern struct spwd * fgetspent(FILE *);
341 extern char * field_arg(FIELD *);
342 extern chtype field_back(FIELD *);
343 extern char * field_buffer(FIELD *, int);
344 extern int field_count(FORM *);
345 extern chtype field_fore(FIELD *);
346 extern int field_index(FIELD *);
347 extern int field_info(FIELD *, int *, int *, int *, int *, int *, int *);
348 extern PTF_void field_init(FORM *);
349 extern int field_just(FIELD *);
350 extern OPTIONS field_opts(FIELD *);
351 extern int field_opts_off(FIELD *, OPTIONS);
352 extern int field_opts_on(FIELD *, OPTIONS);
353 extern int field_pad(FIELD *);
354 extern int field_status(FIELD *);
355 extern PTF_void field_term(FORM *);
356 extern FIELDTYPE * field_type(FIELD *);
357 extern char * field_userptr(FIELD *);
358 extern int fileno(FILE *);
359 extern int filter(void);
360 extern int finite(double);
361 extern datum firsthash(/* ??? */);
362 extern datum firstkey(void);
363 extern int flash(void);
364 extern int flock(int, int);
365 extern double floor(double);
366 extern float floorf(float);
367 extern int flushinp(void);
368 extern double fmod(double, double);
369 extern float fmodf(float, float);
370 extern int fmtmsg(long int, const char *, int, const char *, const char *, const char *);
371 extern FILE * fopen(const char *, const char *);
372 extern pid_t fork(void);
373 extern int form_driver(FORM *, int);
374 extern FIELD ** form_fields(FORM *);
375 extern PTF_void form_init(FORM *);
376 extern OPTIONS form_opts(FORM *);
377 extern int form_opts_off(FORM *, OPTIONS);
378 extern int form_opts_on(FORM *, OPTIONS);
379 extern int form_page(FORM *);
380 extern WINDOW * form_sub(FORM *);
381 extern PTF_void form_term(FORM *);
382 extern char * form_userptr(FORM *);
383 extern WINDOW * form_win(FORM *);
384 extern long int fpathconf(int, int);
385 extern fpclass_t fpclass(double);
386 extern int fpgetmask(void);
387 extern fp_rnd fpgetround(void);
388 extern int fpgetsticky(void);
389 extern int fprintf(FILE *, const char *, ...);
390 extern int fpsetmask(int);
391 extern fp_rnd fpsetround(fp_rnd);
392 extern int fpsetsticky(int);
393 extern int fputc(int, FILE *);
394 extern int fputs(const char *, FILE *);
395 extern size_t fread(void *, size_t, size_t, FILE *);
396 extern void free(void *);
397 extern int free_field(FIELD *);
398 extern int free_fieldtype(FIELDTYPE *);
399 extern int free_form(FORM *);
400 extern int free_item(ITEM *);
401 extern int free_menu(MENU *);
402 extern void freenetconfigent(struct netconfig *);
403 extern FILE * freopen(const char *, const char *, FILE *);
404 extern double frexp(double, int *);
405 extern int fscanf(FILE *, const char *, ...);
406 extern int fseek(FILE *, long int, int);
407 extern int fsetpos(FILE *, const fpos_t *);
408 extern int fstat(int, struct stat *);
409 extern int fstatfs(int, struct statfs *, int, int);
410 extern int fstatvfs(int, struct statvfs *);
411 extern int fsync(int);
412 extern long int ftell(FILE *);
413 extern key_t ftok(const char *, int);
414 extern int ftruncate(int, off_t);
415 extern int ftw(const char *, int (*) (const char *, const struct stat *, int), int);
416 extern size_t fwrite(const void *, size_t, size_t, FILE *);
417 extern double gamma(double);
418 extern char * gcvt(double, int, char *);
419 extern int get_error(/* ??? */);
420 extern chtype getattrs(WINDOW *);
421 extern int getbegx(WINDOW *);
422 extern int getbegy(WINDOW *);
423 extern chtype getbkgd(WINDOW *);
424 extern long unsigned int getbmap(void);
425 extern int getc(FILE *);
426 extern char * getcap(/* ??? */);
427 extern int getchar(void);
428 extern int getcontext(ucontext_t *);
429 extern int getcurx(WINDOW *);
430 extern int getcury(WINDOW *);
431 extern char * getcwd(char *, size_t);
432 extern struct tm * getdate(const char *);
433 extern int getdents(int, struct dirent *, unsigned int);
434 extern char ** getdev(/* ??? */);
435 extern char ** getdgrp(/* ??? */);
436 extern int getdomainname(char *, int);
437 extern int getdtablesize(void);
438 extern gid_t getegid(void);
439 extern char * getenv(const char *);
440 extern struct errhdr * geterec(/* ??? */);
441 extern struct errhdr * geteslot(/* ??? */);
442 extern uid_t geteuid(void);
443 extern gid_t getgid(void);
444 extern struct group * getgrent(void);
445 extern struct group * getgrgid(gid_t);
446 extern struct group * getgrnam(const char *);
447 extern int getgroups(int, TARGET_GETGROUPS_T []);
448 extern struct hostent * gethostbyaddr(/* ??? */);
449 extern struct hostent * gethostbyname(/* ??? */);
450 extern struct hostent * gethostent(/* ??? */);
451 #ifdef __alpha__
452 extern int gethostid(void);
453 #else
454 extern long gethostid(void);
455 #endif
456 extern int gethostname(char *, size_t);
457 extern int getitimer(int, struct itimerval *);
458 extern char * getlogin(void);
459 extern int getmaxx(WINDOW *);
460 extern int getmaxy(WINDOW *);
461 extern int getmntany(FILE *, struct mnttab *, struct mnttab *);
462 extern int getmntent(/* ??? */);
463 extern long unsigned int getmouse(void);
464 extern int getmsg(int, struct strbuf *, struct strbuf *, int *);
465 extern struct netent * getnetbyaddr(/* ??? */);
466 extern struct netent * getnetbyname(/* ??? */);
467 extern struct netconfig * getnetconfig(void *);
468 extern struct netconfig * getnetconfigent(char *);
469 extern struct netent * getnetent(/* ??? */);
470 extern struct netconfig * getnetpath(void *);
471 extern int getopt(int, char *const *, const char *);
472 extern int getpagesize(void);
473 extern int getparx(WINDOW *);
474 extern int getpary(WINDOW *);
475 extern char * getpass(const char *);
476 extern pid_t getpgid(pid_t);
477 extern pid_t getpgrp(void);
478 extern pid_t getpgrp2(pid_t);
479 extern pid_t getpid(void);
480 extern int getpmsg(int, struct strbuf *, struct strbuf *, int *, int *);
481 extern pid_t getppid(void);
482 extern int getpriority(int, int);
483 extern struct protoent * getprotobyname(/* ??? */);
484 extern struct protoent * getprotobynumber(/* ??? */);
485 extern struct protoent * getprotoent(/* ??? */);
486 extern int getpw(int, char *);
487 extern struct passwd * getpwent(void);
488 extern struct passwd * getpwnam(const char *);
489 extern struct passwd * getpwuid(uid_t);
490 extern int getrlimit(int, struct rlimit *);
491 extern int getrnge(char *);
492 extern struct rpcent * getrpcbyname(const char *);
493 extern struct rpcent * getrpcbynumber(int);
494 extern struct rpcent * getrpcent(void);
495 extern int getrusage(int, struct rusage *);
496 extern char * gets(char *);
497 extern struct servent * getservbyname(/* ??? */);
498 extern struct servent * getservbyport(/* ??? */);
499 extern struct servent * getservent(/* ??? */);
500 extern pid_t getsid(pid_t);
501 extern struct spwd * getspent(void);
502 extern struct spwd * getspnam(const char *);
503 extern int getsubopt(char **, char *const *, char **);
504 extern int gettmode(void);
505 extern char * gettxt(const char *, const char *);
506 extern uid_t getuid(void);
507 extern struct utmp * getutent(void);
508 extern struct utmp * getutid(const struct utmp *);
509 extern struct utmp * getutline(const struct utmp *);
510 extern void getutmp(const struct utmpx *, struct utmp *);
511 extern void getutmpx(const struct utmp *, struct utmpx *);
512 extern struct utmpx * getutxent(void);
513 extern struct utmpx * getutxid(const struct utmpx *);
514 extern struct utmpx * getutxline(const struct utmpx *);
515 extern int getvfsany(FILE *, struct vfstab *, struct vfstab *);
516 extern int getvfsent(FILE *, struct vfstab *);
517 extern int getvfsfile(FILE *, struct vfstab *, char *);
518 extern int getvfsspec(FILE *, struct vfstab *, char *);
519 extern int getvol(/* ??? */);
520 extern int getw(FILE *);
521 extern char * getwd(char *);
522 extern void getwidth(eucwidth_t *);
523 extern WINDOW * getwin(FILE *);
524 extern int gmatch(const char *, const char *);
525 extern struct tm * gmtime(const time_t *);
526 extern int gsignal(int);
527 extern int halfdelay(int);
528 extern bool has_colors(void);
529 extern int has_ic(void);
530 extern int has_il(void);
531 extern long int hashinc(/* ??? */);
532 extern char * hasmntopt(/* ??? */);
533 extern int hcreate(size_t);
534 extern void hdestroy(void);
535 extern int hide_panel(PANEL *);
536 extern int host2netname(char *, char *, char *);
537 extern int hrtalarm(hrtcmd_t *, int);
538 extern int hrtcancel(const long int *, int);
539 extern int hrtcntl(int, int, interval_t *, hrtime_t *);
540 extern int hrtsleep(hrtcmd_t *);
541 extern ENTRY * hsearch(ENTRY, ACTION);
542 extern long unsigned int htonl(long unsigned int);
543 extern short unsigned int htons(unsigned int);
544 extern double hypot(double, double);
545 extern void idcok(WINDOW *, int);
546 extern int idlok(WINDOW *, int);
547 extern void immedok(WINDOW *, int);
548 extern char * index(const char *, int);
549 extern long unsigned int inet_addr(/* ??? */);
550 extern struct in_addr inet_makeaddr(/* ??? */);
551 extern long unsigned int inet_network(/* ??? */);
552 extern char * inet_ntoa(/* ??? */);
553 extern int init_color(int, int, int, int);
554 extern int init_pair(int, int, int);
555 extern int initgroups(const char *, gid_t);
556 extern WINDOW * initscr(/* ??? */);
557 extern WINDOW * initscr32(void);
558 extern char * initstate(unsigned, char *, int);
559 extern void insque(struct qelem *, struct qelem *);
560 extern int intrflush(WINDOW *, int);
561 extern int ioctl(int, int, ...);
562 extern int is_linetouched(WINDOW *, int);
563 extern int is_wintouched(WINDOW *);
564 extern int isalnum(int);
565 extern int isalpha(int);
566 extern int isascii(int);
567 extern int isatty(int);
568 extern int iscntrl(int);
569 extern int isdigit(int);
570 extern int isencrypt(const char *, size_t);
571 extern int isendwin(void);
572 extern int isgraph(int);
573 extern int isinf(double);
574 extern int islower(int);
575 extern int isnan(double);
576 extern int isnand(double);
577 extern int isnanf(float);
578 extern int isprint(int);
579 extern int ispunct(int);
580 extern int isspace(int);
581 extern int isupper(int);
582 extern int isxdigit(int);
583 extern int item_count(MENU *);
584 extern char * item_description(ITEM *);
585 extern int item_index(ITEM *);
586 extern PTF_void item_init(MENU *);
587 extern char * item_name(ITEM *);
588 extern OPTIONS item_opts(ITEM *);
589 extern int item_opts_off(ITEM *, OPTIONS);
590 extern int item_opts_on(ITEM *, OPTIONS);
591 extern PTF_void item_term(MENU *);
592 extern char * item_userptr(ITEM *);
593 extern int item_value(ITEM *);
594 extern int item_visible(ITEM *);
595 extern long int itol(/* ??? */);
596 extern double j0(double);
597 extern double j1(double);
598 extern double jn(int, double);
599 extern long int jrand48(short unsigned int *);
600 extern char * keyname(int);
601 extern int keypad(WINDOW *, int);
602 extern int kill(pid_t, int);
603 extern char killchar(void);
604 extern int killpg(int, int);
605 extern void l3tol(long int *, const char *, int);
606 extern char * l64a(long int);
607 extern long int labs(long int);
608 extern dl_t ladd(/* ??? */);
609 extern int lchown(const char *, uid_t, gid_t);
610 extern int lckpwdf(void);
611 extern void lcong48(short unsigned int *);
612 extern int ldaclose(struct ldfile *);
613 extern int ldahread(struct ldfile *, archdr *);
614 extern struct ldfile * ldaopen(const char *, struct ldfile *);
615 extern int ldclose(struct ldfile *);
616 extern double ldexp(double, int);
617 extern int ldfhread(struct ldfile *, struct filehdr *);
618 extern char * ldgetname(struct ldfile *, const struct syment *);
619 extern ldiv_t ldiv(long int, long int);
620 extern dl_t ldivide(/* ??? */);
621 extern int ldlinit(struct ldfile *, long int);
622 extern int ldlitem(struct ldfile *, unsigned int, struct lineno *);
623 extern int ldlread(struct ldfile *, long int, unsigned int, struct lineno *);
624 extern int ldlseek(struct ldfile *, unsigned int);
625 extern int ldnlseek(struct ldfile *, const char *);
626 extern int ldnrseek(struct ldfile *, const char *);
627 extern int ldnshread(struct ldfile *, const char *, struct scnhdr *);
628 extern int ldnsseek(struct ldfile *, const char *);
629 extern int ldohseek(struct ldfile *);
630 extern struct ldfile * ldopen(const char *, struct ldfile *);
631 extern int ldrseek(struct ldfile *, unsigned int);
632 extern int ldshread(struct ldfile *, unsigned int, struct scnhdr *);
633 extern int ldsseek(struct ldfile *, unsigned int);
634 extern long int ldtbindex(struct ldfile *);
635 extern int ldtbread(struct ldfile *, long int, struct syment *);
636 extern int ldtbseek(struct ldfile *);
637 extern int leaveok(WINDOW *, int);
638 extern dl_t lexp10(/* ??? */);
639 extern void * lfind(const void *, const void *, size_t *, size_t, int (*) (const void *, const void *));
640 extern double lgamma(double);
641 extern int link(const char *, const char *);
642 extern FIELD * link_field(FIELD *, int, int);
643 extern FIELDTYPE * link_fieldtype(FIELDTYPE *, FIELDTYPE *);
644 extern char ** listdev(/* ??? */);
645 extern char ** listdgrp(/* ??? */);
646 extern dl_t llog10(/* ??? */);
647 extern dl_t lmul(/* ??? */);
648 extern struct lconv * localeconv(void);
649 extern struct tm * localtime(const time_t *);
650 extern int lock(int, int, long);
651 extern int lockf(int, int, off_t);
652 extern double log(double);
653 extern double log10(double);
654 extern float log10f(float);
655 extern double logb(double);
656 extern float logf(float);
657 extern char * logname(void);
658 extern void longjmp(jmp_buf, int);
659 extern char * longname(void);
660 extern long int lrand48(void);
661 extern void * lsearch(const void *, void *, size_t *, size_t, int (*) (const void *, const void *));
662 extern off_t lseek(int, off_t, int);
663 extern dl_t lshiftl(/* ??? */);
664 extern int lstat(const char *, struct stat *);
665 extern dl_t lsub(/* ??? */);
666 extern void ltol3(char *, const long int *, int);
667 extern int m_addch(int);
668 extern int m_addstr(char *);
669 extern int m_clear(void);
670 extern int m_erase(void);
671 extern WINDOW * m_initscr(void);
672 extern int m_move(int, int);
673 extern SCREEN * m_newterm(char *, FILE *, FILE *);
674 extern int m_refresh(void);
675 extern int maillock(char *, int);
676 extern int mailunlock(void);
677 extern major_t major(dev_t);
678 extern datum makdatum(/* ??? */);
679 extern void makecontext(ucontext_t *, void (*) (/* ??? */), int, ...);
680 extern dev_t makedev(major_t, minor_t);
681 extern struct utmpx * makeutx(const struct utmpx *);
682 extern struct mallinfo mallinfo(void);
683 extern void * malloc(size_t);
684 extern int mallopt(int, int);
685 extern int map_button(long unsigned int);
686 extern int matherr(struct exception *);
687 extern int mbftowc(char *, wchar_t *, int (*) (/* ??? */), int *);
688 extern int mblen(const char *, size_t);
689 extern size_t mbstowcs(wchar_t *, const char *, size_t);
690 extern int mbtowc(wchar_t *, const char *, size_t);
691 extern void * memalign(size_t, size_t);
692 extern void * memccpy(void *, const void *, int, size_t);
693 extern void * memchr(const void *, int, size_t);
694 extern int memcmp(const void *, const void *, size_t);
695 extern void * memcpy(void *, const void *, size_t);
696 extern int memlock(/* ??? */);
697 extern int memlocked(/* ??? */);
698 extern void * memmove(void *, const void *, size_t);
699 extern void * memset(void *, int, size_t);
700 extern int memunlock(/* ??? */);
701 extern chtype menu_back(MENU *);
702 extern int menu_driver(MENU *, int);
703 extern chtype menu_fore(MENU *);
704 extern void menu_format(MENU *, int *, int *);
705 extern chtype menu_grey(MENU *);
706 extern PTF_void menu_init(MENU *);
707 extern ITEM ** menu_items(MENU *);
708 extern char * menu_mark(MENU *);
709 extern OPTIONS menu_opts(MENU *);
710 extern int menu_opts_off(MENU *, OPTIONS);
711 extern int menu_opts_on(MENU *, OPTIONS);
712 extern int menu_pad(MENU *);
713 extern char * menu_pattern(MENU *);
714 extern WINDOW * menu_sub(MENU *);
715 extern PTF_void menu_term(MENU *);
716 extern char * menu_userptr(MENU *);
717 extern WINDOW * menu_win(MENU *);
718 extern int meta(WINDOW *, int);
719 extern void mfree(struct map *, size_t, u_long);
720 extern int mincore(caddr_t, size_t, char *);
721 extern minor_t minor(dev_t);
722 extern int mkdir(const char *, mode_t);
723 extern int mkdirp(const char *, mode_t);
724 extern int mkfifo(const char *, mode_t);
725 extern int mknod(const char *, mode_t, dev_t);
726 extern int mkstemp(char *);
727 extern char * mktemp(char *);
728 extern time_t mktime(struct tm *);
729 extern caddr_t mmap(/* ??? */);
730 extern double modf(double, double *);
731 extern float modff(float, float *);
732 extern struct utmpx * modutx(const struct utmpx *);
733 extern void monitor(int (*) (/* ??? */), int (*) (/* ??? */), WORD *, int, int);
734 extern int mount(const char *, const char *, int, ...);
735 extern int mouse_off(long int);
736 extern int mouse_on(long int);
737 extern int mouse_set(long int);
738 extern int move_field(FIELD *, int, int);
739 extern int move_panel(PANEL *, int, int);
740 extern int mprotect(/* ??? */);
741 extern long int mrand48(void);
742 extern int msgctl(int, int, ...);
743 extern int msgget(key_t, int);
744 extern int msgrcv(int, void *, size_t, long int, int);
745 extern int msgsnd(int, const void *, size_t, int);
746 extern int munmap(/* ??? */);
747 extern int mvcur(int, int, int, int);
748 extern int mvderwin(WINDOW *, int, int);
749 extern int mvprintw(int, int, ...);
750 extern int mvscanw(int, int, ...);
751 extern int mvwin(WINDOW *, int, int);
752 extern int mvwprintw(WINDOW *, int, int, ...);
753 extern int mvwscanw(WINDOW *, int, int, ...);
754 extern int napms(int);
755 extern void netdir_free(char *, int);
756 extern int netdir_getbyaddr(struct netconfig *, struct nd_hostservlist **, struct netbuf *);
757 extern int netdir_getbyname(struct netconfig *, struct nd_hostserv *, struct nd_addrlist **);
758 extern int netdir_options(struct netconfig *, int, int, char *);
759 extern void netdir_perror(char *);
760 extern char * netdir_sperror(/* ??? */);
761 extern FIELD * new_field(int, int, int, int, int, int);
762 extern FIELDTYPE * new_fieldtype(PTF_int, PTF_int);
763 extern FORM * new_form(FIELD **);
764 extern ITEM * new_item(char *, char *);
765 extern MENU * new_menu(ITEM **);
766 extern int new_page(FIELD *);
767 extern PANEL * new_panel(WINDOW *);
768 extern int newkey(char *, int, int);
769 extern WINDOW * newpad(int, int);
770 extern SCREEN * newscreen(char *, int, int, int, FILE *, FILE *);
771 extern SCREEN * newterm32(char *, FILE *, FILE *);
772 extern WINDOW * newwin(int, int, int, int);
773 extern double nextafter(double, double);
774 extern datum nextkey(datum);
775 extern int nftw(const char *, int (*) (const char *, const struct stat *, int, struct FTW *), int, int);
776 extern int nice(int);
777 extern int nl(void);
778 extern char * nl_langinfo(nl_item);
779 extern int nlist(const char *, struct nlist *);
780 extern int nocbreak(void);
781 extern int nocrmode(void);
782 extern int nodelay(WINDOW *, int);
783 extern int noecho(void);
784 extern int nonl(void);
785 extern int noraw(void);
786 extern int notimeout(WINDOW *, int);
787 extern long int nrand48(short unsigned int *);
788 extern int ns_close(/* ??? */);
789 extern struct nssend * ns_rcv(/* ??? */);
790 extern int ns_send(/* ??? */);
791 extern int ns_setup(/* ??? */);
792 extern long unsigned int ntohl(long unsigned int);
793 extern short unsigned int ntohs(unsigned int);
794 extern int nuname(struct utsname *);
795 extern int open(const char *, int, ...);
796 extern DIR * opendir(const char *);
797 extern int openprivwait(/* ??? */);
798 extern int openwait(/* ??? */);
799 extern int overlay(WINDOW *, WINDOW *);
800 extern int overwrite(WINDOW *, WINDOW *);
801 extern int p2close(FILE **);
802 extern int p2open(const char *, FILE **);
803 extern int p32echochar(WINDOW *, chtype);
804 extern char * p_cdname(/* ??? */);
805 extern char * p_class(/* ??? */);
806 extern char * p_rr(/* ??? */);
807 extern char * p_type(/* ??? */);
808 extern int pair_content(int, short int *, short int *);
809 extern PANEL * panel_above(PANEL *);
810 extern PANEL * panel_below(PANEL *);
811 extern char * panel_userptr(PANEL *);
812 extern WINDOW * panel_window(PANEL *);
813 extern long int pathconf(const char *, int);
814 extern char * pathfind(const char *, const char *, const char *);
815 extern int pause(void);
816 extern int pclose(FILE *);
817 extern void perror(const char *);
818 extern struct pfdat * pfind(/* ??? */);
819 extern int pglstlk(/* ??? */);
820 extern int pglstunlk(/* ??? */);
821 extern int pid_slot(proc_t *);
822 extern int pipe(int *);
823 extern int plock(int);
824 extern struct pmaplist * pmap_getmaps(/* ??? */);
825 extern u_short pmap_getport(/* ??? */);
826 extern enum clnt_stat pmap_rmtcall(/* ??? */);
827 extern int pmap_set(/* ??? */);
828 extern int pmap_unset(/* ??? */);
829 extern int pnoutrefresh(WINDOW *, int, int, int, int, int, int);
830 extern int poll(struct pollfd *, long unsigned int, int);
831 extern FILE * popen(const char *, const char *);
832 extern int pos_form_cursor(FORM *);
833 extern int pos_menu_cursor(MENU *);
834 extern int post_form(FORM *);
835 extern int post_menu(MENU *);
836 extern double pow(double, double);
837 extern float powf(float, float);
838 extern int prefresh(WINDOW *, int, int, int, int, int, int);
839 extern int printf(const char *, ...);
840 extern int printw(char *, ...);
841 extern void privsig(/* ??? */);
842 extern void profil(short unsigned int *, size_t, int, unsigned int);
843 extern void psiginfo(siginfo_t *, char *);
844 extern void psignal(int, const char *);
845 extern int ptrace(int, pid_t, int, int);
846 extern int putc(int, FILE *);
847 extern int putchar(int);
848 extern int putenv(char *);
849 extern int putmsg(int, const struct strbuf *, const struct strbuf *, int);
850 extern int putp(char *);
851 extern int putpmsg(int, const struct strbuf *, const struct strbuf *, int, int);
852 extern int putpwent(const struct passwd *, FILE *);
853 extern int puts(const char *);
854 extern int putspent(const struct spwd *, FILE *);
855 extern struct utmp * pututline(const struct utmp *);
856 extern struct utmpx * pututxline(const struct utmpx *);
857 extern int putw(int, FILE *);
858 extern int putwin(WINDOW *, FILE *);
859 extern void qsort(void *, size_t, size_t, int (*) (const void *, const void *));
860 extern int raise(int);
861 extern int rand(void);
862 extern long random(void);
863 extern int raw(void);
864 extern ssize_t read(int, void *, size_t);
865 extern struct dirent * readdir(DIR *);
866 extern ssize_t readlink(const char *, char *, size_t);
867 extern void * realloc(void *, size_t);
868 extern char * realpath(char *, char *);
869 extern int redrawwin(WINDOW *);
870 extern char * regcmp(const char *, ...);
871 extern char * regex(const char *, const char *, ...);
872 extern double remainder(double, double);
873 extern int remio(/* ??? */);
874 extern int remove(const char *);
875 extern void remque(struct qelem *);
876 extern int rename(const char *, const char *);
877 extern int replace_panel(PANEL *, WINDOW *);
878 extern int request_mouse_pos(void);
879 extern struct reservdev ** reservdev(/* ??? */);
880 extern int reset_prog_mode(void);
881 extern int reset_shell_mode(void);
882 extern int resetty(void);
883 extern int restartterm(char *, int, int *);
884 extern void rewind(FILE *);
885 extern void rewinddir(DIR *);
886 extern int rf_falloc(/* ??? */);
887 extern char * rindex(const char *, int);
888 extern double rint(double);
889 extern int ripoffline(int, int (*) (WINDOW *, int));
890 extern int rmdir(const char *);
891 extern int rmdirp(char *, char *);
892 extern enum clnt_stat rpc_broadcast(/* ??? */);
893 extern enum clnt_stat rpc_call(/* ??? */);
894 extern int rpcb_getaddr(/* ??? */);
895 extern RPCBLIST * rpcb_getmaps(/* ??? */);
896 extern int rpcb_gettime(/* ??? */);
897 extern enum clnt_stat rpcb_rmtcall(/* ??? */);
898 extern int rpcb_set(/* ??? */);
899 extern char * rpcb_taddr2uaddr(/* ??? */);
900 extern struct netbuf * rpcb_uaddr2taddr(/* ??? */);
901 extern int rpcb_unset(/* ??? */);
902 extern void rpctest_service(/* ??? */);
903 extern int run_crypt(long int, char *, unsigned int, int *);
904 extern int run_setkey(int *, const char *);
905 extern int savetty(void);
906 extern void * sbrk(int);
907 extern double scalb(double, double);
908 extern int scale_form(FORM *, int *, int *);
909 extern int scale_menu(MENU *, int *, int *);
910 extern int scanf(const char *, ...);
911 extern int scanw(char *, ...);
912 extern int scr_dump(char *);
913 extern int scr_init(char *);
914 extern int scr_restore(char *);
915 extern int scroll(WINDOW *);
916 extern int scrollok(WINDOW *, int);
917 extern int scrwidth(wchar_t);
918 extern int sdfree(char *);
919 extern char * sdget(char *, int, ...);
920 extern short unsigned int * seed48(short unsigned int *);
921 extern void seekdir(DIR *, long int);
922 extern int semctl(int, int, int, ...);
923 extern int semget(key_t, int, int);
924 extern int semop(int, struct sembuf *, unsigned int);
925 extern int send(int, char *, int, int);
926 extern int set_current_field(FORM *, FIELD *);
927 extern int set_current_item(MENU *, ITEM *);
928 extern int set_field_back(FIELD *, chtype);
929 extern int set_field_buffer(FIELD *, int, char *);
930 extern int set_field_fore(FIELD *, chtype);
931 extern int set_field_init(FORM *, PTF_void);
932 extern int set_field_just(FIELD *, int);
933 extern int set_field_opts(FIELD *, OPTIONS);
934 extern int set_field_pad(FIELD *, int);
935 extern int set_field_status(FIELD *, int);
936 extern int set_field_term(FORM *, PTF_void);
937 extern int set_field_type(FIELD *, FIELDTYPE *, ...);
938 extern int set_field_userptr(FIELD *, char *);
939 extern int set_fieldtype_arg(FIELDTYPE *, PTF_charP, PTF_charP, PTF_void);
940 extern int set_fieldtype_choice(FIELDTYPE *, PTF_int, PTF_int);
941 extern int set_form_fields(FORM *, FIELD **);
942 extern int set_form_init(FORM *, PTF_void);
943 extern int set_form_opts(FORM *, OPTIONS);
944 extern int set_form_page(FORM *, int);
945 extern int set_form_sub(FORM *, WINDOW *);
946 extern int set_form_term(FORM *, PTF_void);
947 extern int set_form_userptr(FORM *, char *);
948 extern int set_form_win(FORM *, WINDOW *);
949 extern int set_item_init(MENU *, PTF_void);
950 extern int set_item_opts(ITEM *, OPTIONS);
951 extern int set_item_term(MENU *, PTF_void);
952 extern int set_item_userptr(ITEM *, char *);
953 extern int set_item_value(ITEM *, int);
954 extern int set_max_field(FIELD *, int);
955 extern int set_menu_back(MENU *, chtype);
956 extern int set_menu_fore(MENU *, chtype);
957 extern int set_menu_format(MENU *, int, int);
958 extern int set_menu_grey(MENU *, chtype);
959 extern int set_menu_init(MENU *, PTF_void);
960 extern int set_menu_items(MENU *, ITEM **);
961 extern int set_menu_mark(MENU *, char *);
962 extern int set_menu_opts(MENU *, OPTIONS);
963 extern int set_menu_pad(MENU *, int);
964 extern int set_menu_pattern(MENU *, char *);
965 extern int set_menu_sub(MENU *, WINDOW *);
966 extern int set_menu_term(MENU *, PTF_void);
967 extern int set_menu_userptr(MENU *, char *);
968 extern int set_menu_win(MENU *, WINDOW *);
969 extern int set_new_page(FIELD *, int);
970 extern int set_panel_userptr(PANEL *, char *);
971 extern int set_top_row(MENU *, int);
972 extern void setbuf(FILE *, char *);
973 extern int setcontext(ucontext_t *);
974 extern SCREEN * setcurscreen(SCREEN *);
975 extern TERMINAL * setcurterm(TERMINAL *);
976 extern FILE * setexportent(void);
977 extern int setgid(gid_t);
978 extern void setgrent(void);
979 extern int setgroups(int, const gid_t *);
980 extern int sethostname(char *, int);
981 extern int setitimer(int, struct itimerval *, struct itimerval *);
982 extern int setjmp(jmp_buf);
983 extern void setkey(const char *);
984 extern char * setlocale(int, const char *);
985 extern FILE * setmntent(char *, char *);
986 extern void * setnetconfig(void);
987 extern void * setnetpath(void);
988 extern int setpgid(pid_t, pid_t);
989 extern pid_t setpgrp(void);
990 extern int setpgrp2(pid_t, pid_t);
991 extern int setpriority(int, int, int);
992 extern int setprivwait(/* ??? */);
993 extern void setpwent(void);
994 extern int setregid(gid_t, gid_t);
995 extern int setreuid(uid_t, uid_t);
996 extern int setrlimit(int, struct rlimit *);
997 extern int setrpcent(int);
998 extern pid_t setsid(void);
999 extern void setspent(void);
1000 extern char * setstate(char *);
1001 extern int setsyx(int, int);
1002 extern int setterm(char *);
1003 extern int setuid(uid_t);
1004 extern int setupterm(char *, int, int *);
1005 extern void setutent(void);
1006 extern void setutxent(void);
1007 extern int setvbuf(FILE *, char *, int, size_t);
1008 extern long int sgetl(const char *);
1009 extern void * shmat(int, void *, int);
1010 extern int shmctl(int, int, ...);
1011 extern int shmdt(void *);
1012 extern int shmget(key_t, int, int);
1013 extern int show_panel(PANEL *);
1014 extern int sigaction(int, const struct sigaction *, struct sigaction *);
1015 extern int sigaddset(sigset_t *, int);
1016 extern int sigaltstack(const stack_t *, stack_t *);
1017 extern int sigblock(int);
1018 extern int sigdelset(sigset_t *, int);
1019 extern int sigemptyset(sigset_t *);
1020 extern int sigfillset(sigset_t *);
1021 extern int sighold(int);
1022 extern int sigignore(int);
1023 extern int siginterrupt(int, int);
1024 extern int sigismember(const sigset_t *, int);
1025 extern void siglongjmp(sigjmp_buf, int);
1026 extern signal_ret_t (* signal(int, signal_ret_t (*) (int))) (int);
1027 extern int sigpause(int);
1028 extern int sigpending(sigset_t *);
1029 extern int sigprocmask(int, const sigset_t *, sigset_t *);
1030 extern int sigrelse(int);
1031 extern int sigsend(idtype_t, id_t, int);
1032 extern int sigsendset(const procset_t *, int);
1033 extern void (* sigset(int, void (*) (int))) (int);
1034 extern int sigsetjmp(sigjmp_buf, int);
1035 extern int sigsetmask(int);
1036 extern int sigsuspend(sigset_t *);
1037 extern double sin(double);
1038 extern float sinf(float);
1039 extern double sinh(double);
1040 extern float sinhf(float);
1041 extern unsigned int sleep(unsigned int);
1042 extern int slk_attroff(chtype);
1043 extern int slk_attron(chtype);
1044 extern int slk_attrset(chtype);
1045 extern int slk_clear(void);
1046 extern int slk_init(int);
1047 extern char * slk_label(int);
1048 extern int slk_noutrefresh(void);
1049 extern int slk_refresh(void);
1050 extern int slk_restore(void);
1051 extern int slk_set(int, char *, int);
1052 extern int slk_start(int, int *);
1053 extern int slk_touch(void);
1054 extern int socket (int, int, int);
1055 extern void * sprayproc_clear_1(/* ??? */);
1056 extern spraycumul * sprayproc_get_1(/* ??? */);
1057 extern void * sprayproc_spray_1(/* ??? */);
1058 extern int sprintf(char *, const char *, ...);
1059 extern void sputl(long int, char *);
1060 extern double sqrt(double);
1061 extern float sqrtf(float);
1062 extern void srand(unsigned int);
1063 extern void srand48(long int);
1064 extern void srandom(int);
1065 extern int sscanf(const char *, const char *, ...);
1066 extern int (* ssignal(int, int (*) (int))) (int);
1067 extern int start_color(void);
1068 extern int stat(const char *, struct stat *);
1069 extern int statfs(const char *, struct statfs *, int, int);
1070 extern int statvfs(const char *, struct statvfs *);
1071 extern int step(const char *, const char *);
1072 extern int stime(const time_t *);
1073 extern struct netbuf * stoa(char *, struct netbuf *);
1074 extern void store(datum, datum);
1075 extern char * strcadd(char *, const char *);
1076 extern int strcasecmp(const char *, const char *);
1077 extern char * strcat(char *, const char *);
1078 extern char * strccpy(char *, const char *);
1079 extern char * strchr(const char *, int);
1080 extern void strclearctty(/* ??? */);
1081 extern void strclearpg(/* ??? */);
1082 extern void strclearsid(/* ??? */);
1083 extern int strcmp(const char *, const char *);
1084 extern int strcoll(const char *, const char *);
1085 extern char * strcpy(char *, const char *);
1086 extern size_t strcspn(const char *, const char *);
1087 extern char * strdup(const char *);
1088 extern char * streadd(char *, const char *, const char *);
1089 extern char * strecpy(char *, const char *, const char *);
1090 extern char * strerror(int);
1091 extern int strfind(const char *, const char *);
1092 extern size_t strftime(char *, size_t, const char *, const struct tm *);
1093 extern size_t strlen(const char *);
1094 extern int strncasecmp(const char *, const char *, size_t);
1095 extern char * strncat(char *, const char *, size_t);
1096 extern int strncmp(const char *, const char *, size_t);
1097 extern char * strncpy(char *, const char *, size_t);
1098 extern char * strpbrk(const char *, const char *);
1099 extern char * strrchr(const char *, int);
1100 extern char * strrspn(const char *, const char *);
1101 extern size_t strspn(const char *, const char *);
1102 extern char * strstr(const char *, const char *);
1103 extern double strtod(const char *, char **);
1104 extern char * strtok(char *, const char *);
1105 extern long int strtol(const char *, char **, int);
1106 extern long unsigned int strtoul(const char *, char **, int);
1107 extern char * strtrns(const char *, const char *, const char *, char *);
1108 extern size_t strxfrm(char *, const char *, size_t);
1109 extern WINDOW * subpad(WINDOW *, int, int, int, int);
1110 extern WINDOW * subwin(WINDOW *, int, int, int, int);
1111 extern int svc_create(/* ??? */);
1112 extern SVCXPRT * svc_fd_create(/* ??? */);
1113 extern void svc_getreqset(/* ??? */);
1114 extern SVCXPRT * svc_raw_create(/* ??? */);
1115 extern int svc_reg(/* ??? */);
1116 extern SVCXPRT * svc_tli_create(/* ??? */);
1117 extern SVCXPRT * svc_tp_create(/* ??? */);
1118 extern void svc_unreg(/* ??? */);
1119 extern SVCXPRT * svc_vc_create(/* ??? */);
1120 extern void svcerr_systemerr(/* ??? */);
1121 extern SVCXPRT * svcfd_create(/* ??? */);
1122 extern SVCXPRT * svcraw_create(/* ??? */);
1123 extern SVCXPRT * svctcp_create(/* ??? */);
1124 extern SVCXPRT * svcudp_bufcreate(/* ??? */);
1125 extern SVCXPRT * svcudp_create(/* ??? */);
1126 extern void swab(const char *, char *, int);
1127 extern int swapcontext(ucontext_t *, ucontext_t *);
1128 extern int symlink(const char *, const char *);
1129 extern void sync(void);
1130 extern int syncok(WINDOW *, int);
1131 extern int syscall(int, ...);
1132 extern long int sysconf(int);
1133 extern int sysfs(int, ...);
1134 extern int sysinfo(int, char *, long int);
1135 extern int system(const char *);
1136 extern char * taddr2uaddr(struct netconfig *, struct netbuf *);
1137 extern double tan(double);
1138 extern float tanf(float);
1139 extern double tanh(double);
1140 extern float tanhf(float);
1141 extern int tcdrain(int);
1142 extern int tcflow(int, int);
1143 extern int tcflush(int, int);
1144 extern int tcgetattr(int, struct termios *);
1145 extern pid_t tcgetpgrp(int);
1146 extern pid_t tcgetsid(int);
1147 extern int tcsendbreak(int, int);
1148 extern int tcsetattr(int, int, const struct termios *);
1149 extern int tcsetpgrp(int, pid_t);
1150 extern void * tdelete(const void *, void **, int (*) (const void *, const void *));
1151 extern long int telldir(DIR *);
1152 extern char * tempnam(const char *, const char *);
1153 extern chtype termattrs(void);
1154 extern void termerr(void);
1155 extern char * termname(void);
1156 extern void * tfind(const void *, void *const *, int (*) (const void *, const void *));
1157 extern int tgetent(char *, char *);
1158 extern int tgetflag(char *);
1159 extern int tgetnum(char *);
1160 extern char * tgetstr(char *, char **);
1161 extern char * tgoto(char *, int, int);
1162 extern char * tigetstr(char *);
1163 extern time_t time(time_t *);
1164 extern clock_t times(struct tms *);
1165 extern char * timezone(int, int);
1166 extern void tinputfd(int);
1167 extern FILE * tmpfile(void);
1168 extern char * tmpnam(char *);
1169 extern int toascii(int);
1170 extern int tolower(int);
1171 extern int top_panel(PANEL *);
1172 extern int top_row(MENU *);
1173 extern int touchline(WINDOW *, int, int);
1174 extern int touchwin(WINDOW *);
1175 extern int toupper(int);
1176 extern char * tparm(/* ??? */);
1177 extern int tputs(char *, int, int (*) (char));
1178 extern int traceoff(void);
1179 extern int traceon(void);
1180 extern int truncate(const char *, off_t);
1181 extern void * tsearch(const void *, void **, int (*) (const void *, const void *));
1182 extern char * ttyname(int);
1183 extern int ttyslot(void);
1184 extern void twalk(void *, void (*) (void *, VISIT, int));
1185 extern int typeahead(int);
1186 extern void tzset(void);
1187 extern struct netbuf * uaddr2taddr(struct netconfig *, char *);
1188 extern int uadmin(int, int, int);
1189 extern unsigned ualarm(unsigned, unsigned);
1190 extern int ulckpwdf(void);
1191 extern long int ulimit(int, ...);
1192 extern mode_t umask(mode_t);
1193 extern int umount(const char *);
1194 extern int uname(struct utsname *);
1195 extern char * unctrl(int);
1196 extern void undial(int);
1197 extern int ungetc(int, FILE *);
1198 extern int ungetch(int);
1199 extern int unlink(const char *);
1200 extern int unordered(double, double);
1201 extern int unpost_form(FORM *);
1202 extern int unpost_menu(MENU *);
1203 extern int unremio(/* ??? */);
1204 extern int untouchwin(WINDOW *);
1205 extern void update_panels(void);
1206 extern void updwtmp(const char *, struct utmp *);
1207 extern void updwtmpx(const char *, struct utmpx *);
1208 extern void use_env(int);
1209 extern unsigned usleep(unsigned);
1210 extern int ustat(dev_t, struct ustat *);
1211 extern int utime(const char *, const struct utimbuf *);
1212 extern int utmpname(const char *);
1213 extern int utmpxname(const char *);
1214 extern void va_end(__gnuc_va_list);
1215 extern int vadvise(int);
1216 extern void * valloc(size_t);
1217 extern pid_t vfork(void);
1218 extern int vfprintf(FILE *, const char *, __gnuc_va_list);
1219 extern int vhangup(void);
1220 extern int vid32attr(chtype);
1221 extern int vid32puts(chtype, int (*) (char));
1222 extern void vidupdate(chtype, chtype, int (*) (char));
1223 extern int vn_close(/* ??? */);
1224 extern int vprintf(const char *, __gnuc_va_list);
1225 extern int vsprintf(char *, const char *, __gnuc_va_list);
1226 extern int vwprintw(WINDOW *, char *, void *);
1227 extern int vwscanw(WINDOW *, char *, void *);
1228 extern int w32addch(WINDOW *, chtype);
1229 extern int w32attroff(WINDOW *, chtype);
1230 extern int w32attron(WINDOW *, chtype);
1231 extern int w32attrset(WINDOW *, chtype);
1232 extern int w32echochar(WINDOW *, chtype);
1233 extern int w32insch(WINDOW *, chtype);
1234 extern int waddchnstr(WINDOW *, chtype *, int);
1235 extern int waddnstr(WINDOW *, char *, int);
1236 extern int waddstr(WINDOW *, char *);
1237 extern pid_t wait(wait_arg_t *);
1238 extern pid_t wait3(union wait *, int, struct rusage *);
1239 extern int waitid(idtype_t, id_t, siginfo_t *, int);
1240 extern pid_t waitpid(pid_t, int *, int);
1241 extern void * wallproc_wall_1(/* ??? */);
1242 extern int wbkgd(WINDOW *, chtype);
1243 extern void wbkgdset(WINDOW *, chtype);
1244 extern int wborder(WINDOW *, chtype, chtype, chtype, chtype, chtype, chtype, chtype, chtype);
1245 extern int wclear(WINDOW *);
1246 extern int wclrtobot(WINDOW *);
1247 extern int wclrtoeol(WINDOW *);
1248 extern size_t wcstombs(char *, const wchar_t *, size_t);
1249 extern int wctomb(char *, wchar_t);
1250 extern void wcursyncup(WINDOW *);
1251 extern int wdelch(WINDOW *);
1252 extern int wdeleteln(WINDOW *);
1253 extern int werase(WINDOW *);
1254 extern int wgetch(WINDOW *);
1255 extern int wgetnstr(WINDOW *, char *, int);
1256 extern int wgetstr(WINDOW *, char *);
1257 extern int whline(WINDOW *, chtype, int);
1258 extern chtype winch(WINDOW *);
1259 extern int winchnstr(WINDOW *, chtype *, int);
1260 extern int winchstr(WINDOW *, chtype *);
1261 extern int winnstr(WINDOW *, char *, int);
1262 extern int winsdelln(WINDOW *, int);
1263 extern int winsertln(WINDOW *);
1264 extern int winsnstr(WINDOW *, char *, int);
1265 extern int winstr(WINDOW *, char *);
1266 extern int wisprint(wchar_t);
1267 extern void wmouse_position(WINDOW *, int *, int *);
1268 extern int wmove(WINDOW *, int, int);
1269 extern int wnoutrefresh(WINDOW *);
1270 extern int wprintw(WINDOW *, ...);
1271 extern int wredrawln(WINDOW *, int, int);
1272 extern int wrefresh(WINDOW *);
1273 extern ssize_t write(int, const void *, size_t);
1274 extern int wscanw(WINDOW *, ...);
1275 extern int wscrl(WINDOW *, int);
1276 extern int wsetscrreg(WINDOW *, int, int);
1277 extern int wstandend(WINDOW *);
1278 extern int wstandout(WINDOW *);
1279 extern void wsyncdown(WINDOW *);
1280 extern void wsyncup(WINDOW *);
1281 extern void wtimeout(WINDOW *, int);
1282 extern int wtouchln(WINDOW *, int, int, int);
1283 extern int wvline(WINDOW *, chtype, int);
1284 extern bool xdr_datum(/* ??? */);
1285 extern int xdr_double(/* ??? */);
1286 extern int xdr_exports(/* ??? */);
1287 extern int xdr_fhstatus(/* ??? */);
1288 extern int xdr_float(/* ??? */);
1289 extern int xdr_keybuf(/* ??? */);
1290 extern int xdr_mountlist(/* ??? */);
1291 extern int xdr_netbuf(/* ??? */);
1292 extern int xdr_path(/* ??? */);
1293 extern int xdr_pmap(/* ??? */);
1294 extern int xdr_pmaplist(/* ??? */);
1295 extern int xdr_pointer(/* ??? */);
1296 extern int xdr_reference(/* ??? */);
1297 extern int xdr_rmtcall_args(/* ??? */);
1298 extern int xdr_rmtcallres(/* ??? */);
1299 extern int xdr_rpcb(/* ??? */);
1300 extern int xdr_rpcb_rmtcallargs(/* ??? */);
1301 extern int xdr_rpcb_rmtcallres(/* ??? */);
1302 extern int xdr_rpcblist(/* ??? */);
1303 extern int xdr_sprayarr(/* ??? */);
1304 extern int xdr_spraycumul(/* ??? */);
1305 extern int xdr_spraytimeval(/* ??? */);
1306 extern int xdr_u_char(/* ??? */);
1307 extern int xdr_utmparr(/* ??? */);
1308 extern int xdr_utmpidlearr(/* ??? */);
1309 extern int xdr_vector(/* ??? */);
1310 extern int xdr_yp_buf(/* ??? */);
1311 extern bool xdr_yp_inaddr(/* ??? */);
1312 extern bool xdr_ypall(/* ??? */);
1313 extern int xdr_ypdelete_args(/* ??? */);
1314 extern bool xdr_ypdomain_wrap_string(/* ??? */);
1315 extern bool xdr_ypmap_parms(/* ??? */);
1316 extern bool xdr_ypmap_wrap_string(/* ??? */);
1317 extern bool xdr_ypowner_wrap_string(/* ??? */);
1318 extern bool xdr_yppushresp_xfr(/* ??? */);
1319 extern bool xdr_ypreq_key(/* ??? */);
1320 extern bool xdr_ypreq_newxfr(/* ??? */);
1321 extern bool xdr_ypreq_nokey(/* ??? */);
1322 extern bool xdr_ypreq_xfr(/* ??? */);
1323 extern bool xdr_ypresp_key_val(/* ??? */);
1324 extern bool xdr_ypresp_maplist(/* ??? */);
1325 extern bool xdr_ypresp_master(/* ??? */);
1326 extern bool xdr_ypresp_order(/* ??? */);
1327 extern bool xdr_ypresp_val(/* ??? */);
1328 extern int xdr_ypupdate_args(/* ??? */);
1329 extern void xdrrec_create(/* ??? */);
1330 extern int xdrrec_endofrecord(/* ??? */);
1331 extern int xdrrec_eof(/* ??? */);
1332 extern int xdrrec_skiprecord(/* ??? */);
1333 extern void xdrstdio_create(/* ??? */);
1334 extern void xprt_register(/* ??? */);
1335 extern void xprt_unregister(/* ??? */);
1336 extern double y0(double);
1337 extern double y1(double);
1338 extern double yn(int, double);
1339 extern int yp_all(char *, char *, struct ypall_callback *);
1340 extern int yp_bind(const char *);
1341 extern int yp_first(char *, char *, char **, int *, char **, int *);
1342 extern int yp_get_default_domain(char **);
1343 extern int yp_master(char *, char *, char **);
1344 extern int yp_match(char *, char *, char *, int, char **, int *);
1345 extern int yp_next(char *, char *, char *, int, char **, int *, char **, int *);
1346 extern int yp_order(char *, char *, int *);
1347 extern void yp_unbind(const char *);
1348 extern char * yperr_string(int);
1349 extern int ypprot_err(unsigned int);
1350 extern u_int * ypu_change_1(/* ??? */);
1351 extern u_int * ypu_delete_1(/* ??? */);
1352 extern u_int * ypu_insert_1(/* ??? */);
1353 extern u_int * ypu_store_1(/* ??? */);