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