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);
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 *, int);
131 extern void bcopy(const void *, void *, int);
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(/* ??? */);
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 *);
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 extern long gethostid(void);
453 extern int gethostname(char *, int);
454 extern int getitimer(int, struct itimerval
*);
455 extern char * getlogin(void);
456 extern int getmaxx(WINDOW
*);
457 extern int getmaxy(WINDOW
*);
458 extern int getmntany(FILE *, struct mnttab
*, struct mnttab
*);
459 extern int getmntent(/* ??? */);
460 extern long unsigned int getmouse(void);
461 extern int getmsg(int, struct strbuf
*, struct strbuf
*, int *);
462 extern struct netent
* getnetbyaddr(/* ??? */);
463 extern struct netent
* getnetbyname(/* ??? */);
464 extern struct netconfig
* getnetconfig(void *);
465 extern struct netconfig
* getnetconfigent(char *);
466 extern struct netent
* getnetent(/* ??? */);
467 extern struct netconfig
* getnetpath(void *);
468 extern int getopt(int, char *const *, const char *);
469 extern int getpagesize(void);
470 extern int getparx(WINDOW
*);
471 extern int getpary(WINDOW
*);
472 extern char * getpass(const char *);
473 extern pid_t
getpgid(pid_t
);
474 extern pid_t
getpgrp(void);
475 extern pid_t
getpgrp2(pid_t
);
476 extern pid_t
getpid(void);
477 extern int getpmsg(int, struct strbuf
*, struct strbuf
*, int *, int *);
478 extern pid_t
getppid(void);
479 extern int getpriority(int, int);
480 extern struct protoent
* getprotobyname(/* ??? */);
481 extern struct protoent
* getprotobynumber(/* ??? */);
482 extern struct protoent
* getprotoent(/* ??? */);
483 extern int getpw(int, char *);
484 extern struct passwd
* getpwent(void);
485 extern struct passwd
* getpwnam(const char *);
486 extern struct passwd
* getpwuid(uid_t
);
487 extern int getrlimit(int, struct rlimit
*);
488 extern int getrnge(char *);
489 extern struct rpcent
* getrpcbyname(const char *);
490 extern struct rpcent
* getrpcbynumber(int);
491 extern struct rpcent
* getrpcent(void);
492 extern int getrusage(int, struct rusage
*);
493 extern char * gets(char *);
494 extern struct servent
* getservbyname(/* ??? */);
495 extern struct servent
* getservbyport(/* ??? */);
496 extern struct servent
* getservent(/* ??? */);
497 extern pid_t
getsid(pid_t
);
498 extern struct spwd
* getspent(void);
499 extern struct spwd
* getspnam(const char *);
500 extern int getsubopt(char **, char *const *, char **);
501 extern int gettmode(void);
502 extern char * gettxt(const char *, const char *);
503 extern uid_t
getuid(void);
504 extern struct utmp
* getutent(void);
505 extern struct utmp
* getutid(const struct utmp
*);
506 extern struct utmp
* getutline(const struct utmp
*);
507 extern void getutmp(const struct utmpx
*, struct utmp
*);
508 extern void getutmpx(const struct utmp
*, struct utmpx
*);
509 extern struct utmpx
* getutxent(void);
510 extern struct utmpx
* getutxid(const struct utmpx
*);
511 extern struct utmpx
* getutxline(const struct utmpx
*);
512 extern int getvfsany(FILE *, struct vfstab
*, struct vfstab
*);
513 extern int getvfsent(FILE *, struct vfstab
*);
514 extern int getvfsfile(FILE *, struct vfstab
*, char *);
515 extern int getvfsspec(FILE *, struct vfstab
*, char *);
516 extern int getvol(/* ??? */);
517 extern int getw(FILE *);
518 extern char * getwd(char *);
519 extern void getwidth(eucwidth_t
*);
520 extern WINDOW
* getwin(FILE *);
521 extern int gmatch(const char *, const char *);
522 extern struct tm
* gmtime(const time_t *);
523 extern int gsignal(int);
524 extern int halfdelay(int);
525 extern bool has_colors(void);
526 extern int has_ic(void);
527 extern int has_il(void);
528 extern long int hashinc(/* ??? */);
529 extern char * hasmntopt(/* ??? */);
530 extern int hcreate(size_t);
531 extern void hdestroy(void);
532 extern int hide_panel(PANEL
*);
533 extern int host2netname(char *, char *, char *);
534 extern int hrtalarm(hrtcmd_t
*, int);
535 extern int hrtcancel(const long int *, int);
536 extern int hrtcntl(int, int, interval_t
*, hrtime_t
*);
537 extern int hrtsleep(hrtcmd_t
*);
538 extern ENTRY
* hsearch(ENTRY
, ACTION
);
539 extern long unsigned int htonl(long unsigned int);
540 extern short unsigned int htons(unsigned int);
541 extern double hypot(double, double);
542 extern void idcok(WINDOW
*, int);
543 extern int idlok(WINDOW
*, int);
544 extern void immedok(WINDOW
*, int);
545 extern char * index(const char *, int);
546 extern long unsigned int inet_addr(/* ??? */);
547 extern struct in_addr
inet_makeaddr(/* ??? */);
548 extern long unsigned int inet_network(/* ??? */);
549 extern char * inet_ntoa(/* ??? */);
550 extern int init_color(int, int, int, int);
551 extern int init_pair(int, int, int);
552 extern int initgroups(const char *, gid_t
);
553 extern WINDOW
* initscr(/* ??? */);
554 extern WINDOW
* initscr32(void);
555 extern char * initstate(unsigned, char *, int);
556 extern void insque(struct qelem
*, struct qelem
*);
557 extern int intrflush(WINDOW
*, int);
558 extern int ioctl(int, int, ...);
559 extern int is_linetouched(WINDOW
*, int);
560 extern int is_wintouched(WINDOW
*);
561 extern int isalnum(int);
562 extern int isalpha(int);
563 extern int isascii(int);
564 extern int isatty(int);
565 extern int iscntrl(int);
566 extern int isdigit(int);
567 extern int isencrypt(const char *, size_t);
568 extern int isendwin(void);
569 extern int isgraph(int);
570 extern int isinf(double);
571 extern int islower(int);
572 extern int isnan(double);
573 extern int isnand(double);
574 extern int isnanf(float);
575 extern int isprint(int);
576 extern int ispunct(int);
577 extern int isspace(int);
578 extern int isupper(int);
579 extern int isxdigit(int);
580 extern int item_count(MENU
*);
581 extern char * item_description(ITEM
*);
582 extern int item_index(ITEM
*);
583 extern PTF_void
item_init(MENU
*);
584 extern char * item_name(ITEM
*);
585 extern OPTIONS
item_opts(ITEM
*);
586 extern int item_opts_off(ITEM
*, OPTIONS
);
587 extern int item_opts_on(ITEM
*, OPTIONS
);
588 extern PTF_void
item_term(MENU
*);
589 extern char * item_userptr(ITEM
*);
590 extern int item_value(ITEM
*);
591 extern int item_visible(ITEM
*);
592 extern long int itol(/* ??? */);
593 extern double j0(double);
594 extern double j1(double);
595 extern double jn(int, double);
596 extern long int jrand48(short unsigned int *);
597 extern char * keyname(int);
598 extern int keypad(WINDOW
*, int);
599 extern int kill(pid_t
, int);
600 extern char killchar(void);
601 extern int killpg(int, int);
602 extern void l3tol(long int *, const char *, int);
603 extern char * l64a(long int);
604 extern long int labs(long int);
605 extern dl_t
ladd(/* ??? */);
606 extern int lchown(const char *, uid_t
, gid_t
);
607 extern int lckpwdf(void);
608 extern void lcong48(short unsigned int *);
609 extern int ldaclose(struct ldfile
*);
610 extern int ldahread(struct ldfile
*, archdr
*);
611 extern struct ldfile
* ldaopen(const char *, struct ldfile
*);
612 extern int ldclose(struct ldfile
*);
613 extern double ldexp(double, int);
614 extern int ldfhread(struct ldfile
*, struct filehdr
*);
615 extern char * ldgetname(struct ldfile
*, const struct syment
*);
616 extern ldiv_t ldiv(long int, long int);
617 extern dl_t
ldivide(/* ??? */);
618 extern int ldlinit(struct ldfile
*, long int);
619 extern int ldlitem(struct ldfile
*, unsigned int, struct lineno
*);
620 extern int ldlread(struct ldfile
*, long int, unsigned int, struct lineno
*);
621 extern int ldlseek(struct ldfile
*, unsigned int);
622 extern int ldnlseek(struct ldfile
*, const char *);
623 extern int ldnrseek(struct ldfile
*, const char *);
624 extern int ldnshread(struct ldfile
*, const char *, struct scnhdr
*);
625 extern int ldnsseek(struct ldfile
*, const char *);
626 extern int ldohseek(struct ldfile
*);
627 extern struct ldfile
* ldopen(const char *, struct ldfile
*);
628 extern int ldrseek(struct ldfile
*, unsigned int);
629 extern int ldshread(struct ldfile
*, unsigned int, struct scnhdr
*);
630 extern int ldsseek(struct ldfile
*, unsigned int);
631 extern long int ldtbindex(struct ldfile
*);
632 extern int ldtbread(struct ldfile
*, long int, struct syment
*);
633 extern int ldtbseek(struct ldfile
*);
634 extern int leaveok(WINDOW
*, int);
635 extern dl_t
lexp10(/* ??? */);
636 extern void * lfind(const void *, const void *, size_t *, size_t, int (*) (const void *, const void *));
637 extern double lgamma(double);
638 extern int link(const char *, const char *);
639 extern FIELD
* link_field(FIELD
*, int, int);
640 extern FIELDTYPE
* link_fieldtype(FIELDTYPE
*, FIELDTYPE
*);
641 extern char ** listdev(/* ??? */);
642 extern char ** listdgrp(/* ??? */);
643 extern dl_t
llog10(/* ??? */);
644 extern dl_t
lmul(/* ??? */);
645 extern struct lconv
* localeconv(void);
646 extern struct tm
* localtime(const time_t *);
647 extern int lock(int, int, long);
648 extern int lockf(int, int, long int);
649 extern double log(double);
650 extern double log10(double);
651 extern float log10f(float);
652 extern double logb(double);
653 extern float logf(float);
654 extern char * logname(void);
655 extern void longjmp(jmp_buf, int);
656 extern char * longname(void);
657 extern long int lrand48(void);
658 extern void * lsearch(const void *, void *, size_t *, size_t, int (*) (const void *, const void *));
659 extern off_t
lseek(int, off_t
, int);
660 extern dl_t
lshiftl(/* ??? */);
661 extern int lstat(const char *, struct stat
*);
662 extern dl_t
lsub(/* ??? */);
663 extern void ltol3(char *, const long int *, int);
664 extern int m_addch(int);
665 extern int m_addstr(char *);
666 extern int m_clear(void);
667 extern int m_erase(void);
668 extern WINDOW
* m_initscr(void);
669 extern int m_move(int, int);
670 extern SCREEN
* m_newterm(char *, FILE *, FILE *);
671 extern int m_refresh(void);
672 extern int maillock(char *, int);
673 extern int mailunlock(void);
674 extern major_t
major(dev_t
);
675 extern datum
makdatum(/* ??? */);
676 extern void makecontext(ucontext_t
*, void (*) (/* ??? */), int, ...);
677 extern dev_t
makedev(major_t
, minor_t
);
678 extern struct utmpx
* makeutx(const struct utmpx
*);
679 extern struct mallinfo
mallinfo(void);
680 extern void * malloc(size_t);
681 extern int mallopt(int, int);
682 extern int map_button(long unsigned int);
683 extern int matherr(struct exception
*);
684 extern int mbftowc(char *, wchar_t *, int (*) (/* ??? */), int *);
685 extern int mblen(const char *, size_t);
686 extern size_t mbstowcs(wchar_t *, const char *, size_t);
687 extern int mbtowc(wchar_t *, const char *, size_t);
688 extern void * memalign(size_t, size_t);
689 extern void * memccpy(void *, const void *, int, size_t);
690 extern void * memchr(const void *, int, size_t);
691 extern int memcmp(const void *, const void *, size_t);
692 extern void * memcpy(void *, const void *, size_t);
693 extern int memlock(/* ??? */);
694 extern int memlocked(/* ??? */);
695 extern void * memmove(void *, const void *, size_t);
696 extern void * memset(void *, int, size_t);
697 extern int memunlock(/* ??? */);
698 extern chtype
menu_back(MENU
*);
699 extern int menu_driver(MENU
*, int);
700 extern chtype
menu_fore(MENU
*);
701 extern void menu_format(MENU
*, int *, int *);
702 extern chtype
menu_grey(MENU
*);
703 extern PTF_void
menu_init(MENU
*);
704 extern ITEM
** menu_items(MENU
*);
705 extern char * menu_mark(MENU
*);
706 extern OPTIONS
menu_opts(MENU
*);
707 extern int menu_opts_off(MENU
*, OPTIONS
);
708 extern int menu_opts_on(MENU
*, OPTIONS
);
709 extern int menu_pad(MENU
*);
710 extern char * menu_pattern(MENU
*);
711 extern WINDOW
* menu_sub(MENU
*);
712 extern PTF_void
menu_term(MENU
*);
713 extern char * menu_userptr(MENU
*);
714 extern WINDOW
* menu_win(MENU
*);
715 extern int meta(WINDOW
*, int);
716 extern void mfree(struct map
*, size_t, u_long
);
717 extern int mincore(caddr_t
, size_t, char *);
718 extern minor_t
minor(dev_t
);
719 extern int mkdir(const char *, mode_t
);
720 extern int mkdirp(const char *, mode_t
);
721 extern int mkfifo(const char *, mode_t
);
722 extern int mknod(const char *, mode_t
, dev_t
);
723 extern int mkstemp(char *);
724 extern char * mktemp(char *);
725 extern time_t mktime(struct tm
*);
726 extern caddr_t
mmap(/* ??? */);
727 extern double modf(double, double *);
728 extern float modff(float, float *);
729 extern struct utmpx
* modutx(const struct utmpx
*);
730 extern void monitor(int (*) (/* ??? */), int (*) (/* ??? */), WORD
*, int, int);
731 extern int mount(const char *, const char *, int, ...);
732 extern int mouse_off(long int);
733 extern int mouse_on(long int);
734 extern int mouse_set(long int);
735 extern int move_field(FIELD
*, int, int);
736 extern int move_panel(PANEL
*, int, int);
737 extern int mprotect(/* ??? */);
738 extern long int mrand48(void);
739 extern int msgctl(int, int, ...);
740 extern int msgget(key_t
, int);
741 extern int msgrcv(int, void *, size_t, long int, int);
742 extern int msgsnd(int, const void *, size_t, int);
743 extern int munmap(/* ??? */);
744 extern int mvcur(int, int, int, int);
745 extern int mvderwin(WINDOW
*, int, int);
746 extern int mvprintw(int, int, ...);
747 extern int mvscanw(int, int, ...);
748 extern int mvwin(WINDOW
*, int, int);
749 extern int mvwprintw(WINDOW
*, int, int, ...);
750 extern int mvwscanw(WINDOW
*, int, int, ...);
751 extern int napms(int);
752 extern void netdir_free(char *, int);
753 extern int netdir_getbyaddr(struct netconfig
*, struct nd_hostservlist
**, struct netbuf
*);
754 extern int netdir_getbyname(struct netconfig
*, struct nd_hostserv
*, struct nd_addrlist
**);
755 extern int netdir_options(struct netconfig
*, int, int, char *);
756 extern void netdir_perror(char *);
757 extern char * netdir_sperror(/* ??? */);
758 extern FIELD
* new_field(int, int, int, int, int, int);
759 extern FIELDTYPE
* new_fieldtype(PTF_int
, PTF_int
);
760 extern FORM
* new_form(FIELD
**);
761 extern ITEM
* new_item(char *, char *);
762 extern MENU
* new_menu(ITEM
**);
763 extern int new_page(FIELD
*);
764 extern PANEL
* new_panel(WINDOW
*);
765 extern int newkey(char *, int, int);
766 extern WINDOW
* newpad(int, int);
767 extern SCREEN
* newscreen(char *, int, int, int, FILE *, FILE *);
768 extern SCREEN
* newterm32(char *, FILE *, FILE *);
769 extern WINDOW
* newwin(int, int, int, int);
770 extern double nextafter(double, double);
771 extern datum
nextkey(datum
);
772 extern int nftw(const char *, int (*) (const char *, const struct stat
*, int, struct FTW
*), int, int);
773 extern int nice(int);
775 extern char * nl_langinfo(nl_item
);
776 extern int nlist(const char *, struct nlist
*);
777 extern int nocbreak(void);
778 extern int nocrmode(void);
779 extern int nodelay(WINDOW
*, int);
780 extern int noecho(void);
781 extern int nonl(void);
782 extern int noraw(void);
783 extern int notimeout(WINDOW
*, int);
784 extern long int nrand48(short unsigned int *);
785 extern int ns_close(/* ??? */);
786 extern struct nssend
* ns_rcv(/* ??? */);
787 extern int ns_send(/* ??? */);
788 extern int ns_setup(/* ??? */);
789 extern long unsigned int ntohl(long unsigned int);
790 extern short unsigned int ntohs(unsigned int);
791 extern int nuname(struct utsname
*);
792 extern int open(const char *, int, ...);
793 extern DIR * opendir(const char *);
794 extern int openprivwait(/* ??? */);
795 extern int openwait(/* ??? */);
796 extern int overlay(WINDOW
*, WINDOW
*);
797 extern int overwrite(WINDOW
*, WINDOW
*);
798 extern int p2close(FILE **);
799 extern int p2open(const char *, FILE **);
800 extern int p32echochar(WINDOW
*, chtype
);
801 extern char * p_cdname(/* ??? */);
802 extern char * p_class(/* ??? */);
803 extern char * p_rr(/* ??? */);
804 extern char * p_type(/* ??? */);
805 extern int pair_content(int, short int *, short int *);
806 extern PANEL
* panel_above(PANEL
*);
807 extern PANEL
* panel_below(PANEL
*);
808 extern char * panel_userptr(PANEL
*);
809 extern WINDOW
* panel_window(PANEL
*);
810 extern long int pathconf(const char *, int);
811 extern char * pathfind(const char *, const char *, const char *);
812 extern int pause(void);
813 extern int pclose(FILE *);
814 extern void perror(const char *);
815 extern struct pfdat
* pfind(/* ??? */);
816 extern int pglstlk(/* ??? */);
817 extern int pglstunlk(/* ??? */);
818 extern int pid_slot(proc_t
*);
819 extern int pipe(int *);
820 extern int plock(int);
821 extern struct pmaplist
* pmap_getmaps(/* ??? */);
822 extern u_short
pmap_getport(/* ??? */);
823 extern enum clnt_stat
pmap_rmtcall(/* ??? */);
824 extern int pmap_set(/* ??? */);
825 extern int pmap_unset(/* ??? */);
826 extern int pnoutrefresh(WINDOW
*, int, int, int, int, int, int);
827 extern int poll(struct pollfd
*, long unsigned int, int);
828 extern FILE * popen(const char *, const char *);
829 extern int pos_form_cursor(FORM
*);
830 extern int pos_menu_cursor(MENU
*);
831 extern int post_form(FORM
*);
832 extern int post_menu(MENU
*);
833 extern double pow(double, double);
834 extern float powf(float, float);
835 extern int prefresh(WINDOW
*, int, int, int, int, int, int);
836 extern int printf(const char *, ...);
837 extern int printw(char *, ...);
838 extern void privsig(/* ??? */);
839 extern void profil(short unsigned int *, size_t, int, unsigned int);
840 extern void psiginfo(siginfo_t
*, char *);
841 extern void psignal(int, const char *);
842 extern int ptrace(int, pid_t
, int, int);
843 extern int putc(int, FILE *);
844 extern int putchar(int);
845 extern int putenv(char *);
846 extern int putmsg(int, const struct strbuf
*, const struct strbuf
*, int);
847 extern int putp(char *);
848 extern int putpmsg(int, const struct strbuf
*, const struct strbuf
*, int, int);
849 extern int putpwent(const struct passwd
*, FILE *);
850 extern int puts(const char *);
851 extern int putspent(const struct spwd
*, FILE *);
852 extern struct utmp
* pututline(const struct utmp
*);
853 extern struct utmpx
* pututxline(const struct utmpx
*);
854 extern int putw(int, FILE *);
855 extern int putwin(WINDOW
*, FILE *);
856 extern void qsort(void *, size_t, size_t, int (*) (const void *, const void *));
857 extern int raise(int);
858 extern int rand(void);
859 extern long random(void);
860 extern int raw(void);
861 extern int read(int, void *, size_t);
862 extern struct dirent
* readdir(DIR *);
863 extern int readlink(const char *, void *, int);
864 extern void * realloc(void *, size_t);
865 extern char * realpath(char *, char *);
866 extern int redrawwin(WINDOW
*);
867 extern char * regcmp(const char *, ...);
868 extern char * regex(const char *, const char *, ...);
869 extern double remainder(double, double);
870 extern int remio(/* ??? */);
871 extern int remove(const char *);
872 extern void remque(struct qelem
*);
873 extern int rename(const char *, const char *);
874 extern int replace_panel(PANEL
*, WINDOW
*);
875 extern int request_mouse_pos(void);
876 extern struct reservdev
** reservdev(/* ??? */);
877 extern int reset_prog_mode(void);
878 extern int reset_shell_mode(void);
879 extern int resetty(void);
880 extern int restartterm(char *, int, int *);
881 extern void rewind(FILE *);
882 extern void rewinddir(DIR *);
883 extern int rf_falloc(/* ??? */);
884 extern char * rindex(const char *, int);
885 extern double rint(double);
886 extern int ripoffline(int, int (*) (WINDOW
*, int));
887 extern int rmdir(const char *);
888 extern int rmdirp(char *, char *);
889 extern enum clnt_stat
rpc_broadcast(/* ??? */);
890 extern enum clnt_stat
rpc_call(/* ??? */);
891 extern int rpcb_getaddr(/* ??? */);
892 extern RPCBLIST
* rpcb_getmaps(/* ??? */);
893 extern int rpcb_gettime(/* ??? */);
894 extern enum clnt_stat
rpcb_rmtcall(/* ??? */);
895 extern int rpcb_set(/* ??? */);
896 extern char * rpcb_taddr2uaddr(/* ??? */);
897 extern struct netbuf
* rpcb_uaddr2taddr(/* ??? */);
898 extern int rpcb_unset(/* ??? */);
899 extern void rpctest_service(/* ??? */);
900 extern int run_crypt(long int, char *, unsigned int, int *);
901 extern int run_setkey(int *, const char *);
902 extern int savetty(void);
903 extern void * sbrk(int);
904 extern double scalb(double, double);
905 extern int scale_form(FORM
*, int *, int *);
906 extern int scale_menu(MENU
*, int *, int *);
907 extern int scanf(const char *, ...);
908 extern int scanw(char *, ...);
909 extern int scr_dump(char *);
910 extern int scr_init(char *);
911 extern int scr_restore(char *);
912 extern int scroll(WINDOW
*);
913 extern int scrollok(WINDOW
*, int);
914 extern int scrwidth(wchar_t);
915 extern int sdfree(char *);
916 extern char * sdget(char *, int, ...);
917 extern short unsigned int * seed48(short unsigned int *);
918 extern void seekdir(DIR *, long int);
919 extern int semctl(int, int, int, ...);
920 extern int semget(key_t
, int, int);
921 extern int semop(int, struct sembuf
*, unsigned int);
922 extern int send(int, char *, int, int);
923 extern int set_current_field(FORM
*, FIELD
*);
924 extern int set_current_item(MENU
*, ITEM
*);
925 extern int set_field_back(FIELD
*, chtype
);
926 extern int set_field_buffer(FIELD
*, int, char *);
927 extern int set_field_fore(FIELD
*, chtype
);
928 extern int set_field_init(FORM
*, PTF_void
);
929 extern int set_field_just(FIELD
*, int);
930 extern int set_field_opts(FIELD
*, OPTIONS
);
931 extern int set_field_pad(FIELD
*, int);
932 extern int set_field_status(FIELD
*, int);
933 extern int set_field_term(FORM
*, PTF_void
);
934 extern int set_field_type(FIELD
*, FIELDTYPE
*, ...);
935 extern int set_field_userptr(FIELD
*, char *);
936 extern int set_fieldtype_arg(FIELDTYPE
*, PTF_charP
, PTF_charP
, PTF_void
);
937 extern int set_fieldtype_choice(FIELDTYPE
*, PTF_int
, PTF_int
);
938 extern int set_form_fields(FORM
*, FIELD
**);
939 extern int set_form_init(FORM
*, PTF_void
);
940 extern int set_form_opts(FORM
*, OPTIONS
);
941 extern int set_form_page(FORM
*, int);
942 extern int set_form_sub(FORM
*, WINDOW
*);
943 extern int set_form_term(FORM
*, PTF_void
);
944 extern int set_form_userptr(FORM
*, char *);
945 extern int set_form_win(FORM
*, WINDOW
*);
946 extern int set_item_init(MENU
*, PTF_void
);
947 extern int set_item_opts(ITEM
*, OPTIONS
);
948 extern int set_item_term(MENU
*, PTF_void
);
949 extern int set_item_userptr(ITEM
*, char *);
950 extern int set_item_value(ITEM
*, int);
951 extern int set_max_field(FIELD
*, int);
952 extern int set_menu_back(MENU
*, chtype
);
953 extern int set_menu_fore(MENU
*, chtype
);
954 extern int set_menu_format(MENU
*, int, int);
955 extern int set_menu_grey(MENU
*, chtype
);
956 extern int set_menu_init(MENU
*, PTF_void
);
957 extern int set_menu_items(MENU
*, ITEM
**);
958 extern int set_menu_mark(MENU
*, char *);
959 extern int set_menu_opts(MENU
*, OPTIONS
);
960 extern int set_menu_pad(MENU
*, int);
961 extern int set_menu_pattern(MENU
*, char *);
962 extern int set_menu_sub(MENU
*, WINDOW
*);
963 extern int set_menu_term(MENU
*, PTF_void
);
964 extern int set_menu_userptr(MENU
*, char *);
965 extern int set_menu_win(MENU
*, WINDOW
*);
966 extern int set_new_page(FIELD
*, int);
967 extern int set_panel_userptr(PANEL
*, char *);
968 extern int set_top_row(MENU
*, int);
969 extern void setbuf(FILE *, char *);
970 extern int setcontext(ucontext_t
*);
971 extern SCREEN
* setcurscreen(SCREEN
*);
972 extern TERMINAL
* setcurterm(TERMINAL
*);
973 extern FILE * setexportent(void);
974 extern int setgid(gid_t
);
975 extern void setgrent(void);
976 extern int setgroups(int, const gid_t
*);
977 extern int sethostname(char *, int);
978 extern int setitimer(int, struct itimerval
*, struct itimerval
*);
979 extern int setjmp(jmp_buf);
980 extern void setkey(const char *);
981 extern char * setlocale(int, const char *);
982 extern FILE * setmntent(char *, char *);
983 extern void * setnetconfig(void);
984 extern void * setnetpath(void);
985 extern int setpgid(pid_t
, pid_t
);
986 extern pid_t
setpgrp(void);
987 extern int setpgrp2(pid_t
, pid_t
);
988 extern int setpriority(int, int, int);
989 extern int setprivwait(/* ??? */);
990 extern void setpwent(void);
991 extern int setregid(gid_t
, gid_t
);
992 extern int setreuid(uid_t
, uid_t
);
993 extern int setrlimit(int, struct rlimit
*);
994 extern int setrpcent(int);
995 extern pid_t
setsid(void);
996 extern void setspent(void);
997 extern char * setstate(char *);
998 extern int setsyx(int, int);
999 extern int setterm(char *);
1000 extern int setuid(uid_t
);
1001 extern int setupterm(char *, int, int *);
1002 extern void setutent(void);
1003 extern void setutxent(void);
1004 extern int setvbuf(FILE *, char *, int, size_t);
1005 extern long int sgetl(const char *);
1006 extern void * shmat(int, void *, int);
1007 extern int shmctl(int, int, ...);
1008 extern int shmdt(void *);
1009 extern int shmget(key_t
, int, int);
1010 extern int show_panel(PANEL
*);
1011 extern int sigaction(int, const struct sigaction
*, struct sigaction
*);
1012 extern int sigaddset(sigset_t
*, int);
1013 extern int sigaltstack(const stack_t
*, stack_t
*);
1014 extern int sigblock(int);
1015 extern int sigdelset(sigset_t
*, int);
1016 extern int sigemptyset(sigset_t
*);
1017 extern int sigfillset(sigset_t
*);
1018 extern int sighold(int);
1019 extern int sigignore(int);
1020 extern int siginterrupt(int, int);
1021 extern int sigismember(const sigset_t
*, int);
1022 extern void siglongjmp(sigjmp_buf
, int);
1023 extern signal_ret_t (* signal(int, signal_ret_t (*) (int))) (int);
1024 extern int sigpause(int);
1025 extern int sigpending(sigset_t
*);
1026 extern int sigprocmask(int, const sigset_t
*, sigset_t
*);
1027 extern int sigrelse(int);
1028 extern int sigsend(idtype_t
, id_t
, int);
1029 extern int sigsendset(const procset_t
*, int);
1030 extern void (* sigset(int, void (*) (int))) (int);
1031 extern int sigsetjmp(sigjmp_buf
, int);
1032 extern int sigsetmask(int);
1033 extern int sigsuspend(sigset_t
*);
1034 extern double sin(double);
1035 extern float sinf(float);
1036 extern double sinh(double);
1037 extern float sinhf(float);
1038 extern unsigned int sleep(unsigned int);
1039 extern int slk_attroff(chtype
);
1040 extern int slk_attron(chtype
);
1041 extern int slk_attrset(chtype
);
1042 extern int slk_clear(void);
1043 extern int slk_init(int);
1044 extern char * slk_label(int);
1045 extern int slk_noutrefresh(void);
1046 extern int slk_refresh(void);
1047 extern int slk_restore(void);
1048 extern int slk_set(int, char *, int);
1049 extern int slk_start(int, int *);
1050 extern int slk_touch(void);
1051 extern void * sprayproc_clear_1(/* ??? */);
1052 extern spraycumul
* sprayproc_get_1(/* ??? */);
1053 extern void * sprayproc_spray_1(/* ??? */);
1054 extern int sprintf(char *, const char *, ...);
1055 extern void sputl(long int, char *);
1056 extern double sqrt(double);
1057 extern float sqrtf(float);
1058 extern void srand(unsigned int);
1059 extern void srand48(long int);
1060 extern void srandom(int);
1061 extern int sscanf(const char *, const char *, ...);
1062 extern int (* ssignal(int, int (*) (int))) (int);
1063 extern int start_color(void);
1064 extern int stat(const char *, struct stat
*);
1065 extern int statfs(const char *, struct statfs
*, int, int);
1066 extern int statvfs(const char *, struct statvfs
*);
1067 extern int step(const char *, const char *);
1068 extern int stime(const time_t *);
1069 extern struct netbuf
* stoa(char *, struct netbuf
*);
1070 extern void store(datum
, datum
);
1071 extern char * strcadd(char *, const char *);
1072 extern char * strcat(char *, const char *);
1073 extern char * strccpy(char *, const char *);
1074 extern char * strchr(const char *, int);
1075 extern void strclearctty(/* ??? */);
1076 extern void strclearpg(/* ??? */);
1077 extern void strclearsid(/* ??? */);
1078 extern int strcmp(const char *, const char *);
1079 extern int strcoll(const char *, const char *);
1080 extern char * strcpy(char *, const char *);
1081 extern size_t strcspn(const char *, const char *);
1082 extern char * strdup(const char *);
1083 extern char * streadd(char *, const char *, const char *);
1084 extern char * strecpy(char *, const char *, const char *);
1085 extern char * strerror(int);
1086 extern int strfind(const char *, const char *);
1087 extern size_t strftime(char *, size_t, const char *, const struct tm
*);
1088 extern size_t strlen(const char *);
1089 extern char * strncat(char *, const char *, size_t);
1090 extern int strncmp(const char *, const char *, size_t);
1091 extern char * strncpy(char *, const char *, size_t);
1092 extern char * strpbrk(const char *, const char *);
1093 extern char * strrchr(const char *, int);
1094 extern char * strrspn(const char *, const char *);
1095 extern size_t strspn(const char *, const char *);
1096 extern char * strstr(const char *, const char *);
1097 extern double strtod(const char *, char **);
1098 extern char * strtok(char *, const char *);
1099 extern long int strtol(const char *, char **, int);
1100 extern long unsigned int strtoul(const char *, char **, int);
1101 extern char * strtrns(const char *, const char *, const char *, char *);
1102 extern size_t strxfrm(char *, const char *, size_t);
1103 extern WINDOW
* subpad(WINDOW
*, int, int, int, int);
1104 extern WINDOW
* subwin(WINDOW
*, int, int, int, int);
1105 extern int svc_create(/* ??? */);
1106 extern SVCXPRT
* svc_fd_create(/* ??? */);
1107 extern void svc_getreqset(/* ??? */);
1108 extern SVCXPRT
* svc_raw_create(/* ??? */);
1109 extern int svc_reg(/* ??? */);
1110 extern SVCXPRT
* svc_tli_create(/* ??? */);
1111 extern SVCXPRT
* svc_tp_create(/* ??? */);
1112 extern void svc_unreg(/* ??? */);
1113 extern SVCXPRT
* svc_vc_create(/* ??? */);
1114 extern void svcerr_systemerr(/* ??? */);
1115 extern SVCXPRT
* svcfd_create(/* ??? */);
1116 extern SVCXPRT
* svcraw_create(/* ??? */);
1117 extern SVCXPRT
* svctcp_create(/* ??? */);
1118 extern SVCXPRT
* svcudp_bufcreate(/* ??? */);
1119 extern SVCXPRT
* svcudp_create(/* ??? */);
1120 extern void swab(const char *, char *, int);
1121 extern int swapcontext(ucontext_t
*, ucontext_t
*);
1122 extern int symlink(const char *, const char *);
1123 extern void sync(void);
1124 extern int syncok(WINDOW
*, int);
1125 extern int syscall(int, ...);
1126 extern long int sysconf(int);
1127 extern int sysfs(int, ...);
1128 extern int sysinfo(int, char *, long int);
1129 extern int system(const char *);
1130 extern char * taddr2uaddr(struct netconfig
*, struct netbuf
*);
1131 extern double tan(double);
1132 extern float tanf(float);
1133 extern double tanh(double);
1134 extern float tanhf(float);
1135 extern int tcdrain(int);
1136 extern int tcflow(int, int);
1137 extern int tcflush(int, int);
1138 extern int tcgetattr(int, struct termios
*);
1139 extern pid_t
tcgetpgrp(int);
1140 extern pid_t
tcgetsid(int);
1141 extern int tcsendbreak(int, int);
1142 extern int tcsetattr(int, int, const struct termios
*);
1143 extern int tcsetpgrp(int, pid_t
);
1144 extern void * tdelete(const void *, void **, int (*) (const void *, const void *));
1145 extern long int telldir(DIR *);
1146 extern char * tempnam(const char *, const char *);
1147 extern chtype
termattrs(void);
1148 extern void termerr(void);
1149 extern char * termname(void);
1150 extern void * tfind(const void *, void *const *, int (*) (const void *, const void *));
1151 extern int tgetent(char *, char *);
1152 extern int tgetflag(char *);
1153 extern int tgetnum(char *);
1154 extern char * tgetstr(char *, char **);
1155 extern char * tgoto(char *, int, int);
1156 extern char * tigetstr(char *);
1157 extern time_t time(time_t *);
1158 extern clock_t times(struct tms
*);
1159 extern char * timezone(int, int);
1160 extern void tinputfd(int);
1161 extern FILE * tmpfile(void);
1162 extern char * tmpnam(char *);
1163 extern int toascii(int);
1164 extern int tolower(int);
1165 extern int top_panel(PANEL
*);
1166 extern int top_row(MENU
*);
1167 extern int touchline(WINDOW
*, int, int);
1168 extern int touchwin(WINDOW
*);
1169 extern int toupper(int);
1170 extern char * tparm(/* ??? */);
1171 extern int tputs(char *, int, int (*) (char));
1172 extern int traceoff(void);
1173 extern int traceon(void);
1174 extern int truncate(const char *, off_t
);
1175 extern void * tsearch(const void *, void **, int (*) (const void *, const void *));
1176 extern char * ttyname(int);
1177 extern int ttyslot(void);
1178 extern void twalk(void *, void (*) (void *, VISIT
, int));
1179 extern int typeahead(int);
1180 extern void tzset(void);
1181 extern struct netbuf
* uaddr2taddr(struct netconfig
*, char *);
1182 extern int uadmin(int, int, int);
1183 extern unsigned ualarm(unsigned, unsigned);
1184 extern int ulckpwdf(void);
1185 extern long int ulimit(int, ...);
1186 extern mode_t
umask(mode_t
);
1187 extern int umount(const char *);
1188 extern int uname(struct utsname
*);
1189 extern char * unctrl(int);
1190 extern void undial(int);
1191 extern int ungetc(int, FILE *);
1192 extern int ungetch(int);
1193 extern int unlink(const char *);
1194 extern int unordered(double, double);
1195 extern int unpost_form(FORM
*);
1196 extern int unpost_menu(MENU
*);
1197 extern int unremio(/* ??? */);
1198 extern int untouchwin(WINDOW
*);
1199 extern void update_panels(void);
1200 extern void updwtmp(const char *, struct utmp
*);
1201 extern void updwtmpx(const char *, struct utmpx
*);
1202 extern void use_env(int);
1203 extern unsigned usleep(unsigned);
1204 extern int ustat(dev_t
, struct ustat
*);
1205 extern int utime(const char *, const struct utimbuf
*);
1206 extern int utmpname(const char *);
1207 extern int utmpxname(const char *);
1208 extern void va_end(va_list);
1209 extern int vadvise(int);
1210 extern void * valloc(size_t);
1211 extern pid_t
vfork(void);
1212 extern int vfprintf(FILE *, const char *, va_list);
1213 extern int vhangup(void);
1214 extern int vid32attr(chtype
);
1215 extern int vid32puts(chtype
, int (*) (char));
1216 extern void vidupdate(chtype
, chtype
, int (*) (char));
1217 extern int vn_close(/* ??? */);
1218 extern int vprintf(const char *, va_list);
1219 extern int vsprintf(char *, const char *, va_list);
1220 extern int vwprintw(WINDOW
*, char *, void *);
1221 extern int vwscanw(WINDOW
*, char *, void *);
1222 extern int w32addch(WINDOW
*, chtype
);
1223 extern int w32attroff(WINDOW
*, chtype
);
1224 extern int w32attron(WINDOW
*, chtype
);
1225 extern int w32attrset(WINDOW
*, chtype
);
1226 extern int w32echochar(WINDOW
*, chtype
);
1227 extern int w32insch(WINDOW
*, chtype
);
1228 extern int waddchnstr(WINDOW
*, chtype
*, int);
1229 extern int waddnstr(WINDOW
*, char *, int);
1230 extern int waddstr(WINDOW
*, char *);
1231 extern pid_t
wait(wait_arg_t
*);
1232 extern pid_t
wait3(union wait
*, int, struct rusage
*);
1233 extern int waitid(idtype_t
, id_t
, siginfo_t
*, int);
1234 extern pid_t
waitpid(pid_t
, int *, int);
1235 extern void * wallproc_wall_1(/* ??? */);
1236 extern int wbkgd(WINDOW
*, chtype
);
1237 extern void wbkgdset(WINDOW
*, chtype
);
1238 extern int wborder(WINDOW
*, chtype
, chtype
, chtype
, chtype
, chtype
, chtype
, chtype
, chtype
);
1239 extern int wclear(WINDOW
*);
1240 extern int wclrtobot(WINDOW
*);
1241 extern int wclrtoeol(WINDOW
*);
1242 extern size_t wcstombs(char *, const wchar_t *, size_t);
1243 extern int wctomb(char *, wchar_t);
1244 extern void wcursyncup(WINDOW
*);
1245 extern int wdelch(WINDOW
*);
1246 extern int wdeleteln(WINDOW
*);
1247 extern int werase(WINDOW
*);
1248 extern int wgetch(WINDOW
*);
1249 extern int wgetnstr(WINDOW
*, char *, int);
1250 extern int wgetstr(WINDOW
*, char *);
1251 extern int whline(WINDOW
*, chtype
, int);
1252 extern chtype
winch(WINDOW
*);
1253 extern int winchnstr(WINDOW
*, chtype
*, int);
1254 extern int winchstr(WINDOW
*, chtype
*);
1255 extern int winnstr(WINDOW
*, char *, int);
1256 extern int winsdelln(WINDOW
*, int);
1257 extern int winsertln(WINDOW
*);
1258 extern int winsnstr(WINDOW
*, char *, int);
1259 extern int winstr(WINDOW
*, char *);
1260 extern int wisprint(wchar_t);
1261 extern void wmouse_position(WINDOW
*, int *, int *);
1262 extern int wmove(WINDOW
*, int, int);
1263 extern int wnoutrefresh(WINDOW
*);
1264 extern int wprintw(WINDOW
*, ...);
1265 extern int wredrawln(WINDOW
*, int, int);
1266 extern int wrefresh(WINDOW
*);
1267 extern int write(int, const void *, size_t);
1268 extern int wscanw(WINDOW
*, ...);
1269 extern int wscrl(WINDOW
*, int);
1270 extern int wsetscrreg(WINDOW
*, int, int);
1271 extern int wstandend(WINDOW
*);
1272 extern int wstandout(WINDOW
*);
1273 extern void wsyncdown(WINDOW
*);
1274 extern void wsyncup(WINDOW
*);
1275 extern void wtimeout(WINDOW
*, int);
1276 extern int wtouchln(WINDOW
*, int, int, int);
1277 extern int wvline(WINDOW
*, chtype
, int);
1278 extern bool xdr_datum(/* ??? */);
1279 extern int xdr_double(/* ??? */);
1280 extern int xdr_exports(/* ??? */);
1281 extern int xdr_fhstatus(/* ??? */);
1282 extern int xdr_float(/* ??? */);
1283 extern int xdr_keybuf(/* ??? */);
1284 extern int xdr_mountlist(/* ??? */);
1285 extern int xdr_netbuf(/* ??? */);
1286 extern int xdr_path(/* ??? */);
1287 extern int xdr_pmap(/* ??? */);
1288 extern int xdr_pmaplist(/* ??? */);
1289 extern int xdr_pointer(/* ??? */);
1290 extern int xdr_reference(/* ??? */);
1291 extern int xdr_rmtcall_args(/* ??? */);
1292 extern int xdr_rmtcallres(/* ??? */);
1293 extern int xdr_rpcb(/* ??? */);
1294 extern int xdr_rpcb_rmtcallargs(/* ??? */);
1295 extern int xdr_rpcb_rmtcallres(/* ??? */);
1296 extern int xdr_rpcblist(/* ??? */);
1297 extern int xdr_sprayarr(/* ??? */);
1298 extern int xdr_spraycumul(/* ??? */);
1299 extern int xdr_spraytimeval(/* ??? */);
1300 extern int xdr_u_char(/* ??? */);
1301 extern int xdr_utmparr(/* ??? */);
1302 extern int xdr_utmpidlearr(/* ??? */);
1303 extern int xdr_vector(/* ??? */);
1304 extern int xdr_yp_buf(/* ??? */);
1305 extern bool xdr_yp_inaddr(/* ??? */);
1306 extern bool xdr_ypall(/* ??? */);
1307 extern int xdr_ypdelete_args(/* ??? */);
1308 extern bool xdr_ypdomain_wrap_string(/* ??? */);
1309 extern bool xdr_ypmap_parms(/* ??? */);
1310 extern bool xdr_ypmap_wrap_string(/* ??? */);
1311 extern bool xdr_ypowner_wrap_string(/* ??? */);
1312 extern bool xdr_yppushresp_xfr(/* ??? */);
1313 extern bool xdr_ypreq_key(/* ??? */);
1314 extern bool xdr_ypreq_newxfr(/* ??? */);
1315 extern bool xdr_ypreq_nokey(/* ??? */);
1316 extern bool xdr_ypreq_xfr(/* ??? */);
1317 extern bool xdr_ypresp_key_val(/* ??? */);
1318 extern bool xdr_ypresp_maplist(/* ??? */);
1319 extern bool xdr_ypresp_master(/* ??? */);
1320 extern bool xdr_ypresp_order(/* ??? */);
1321 extern bool xdr_ypresp_val(/* ??? */);
1322 extern int xdr_ypupdate_args(/* ??? */);
1323 extern void xdrrec_create(/* ??? */);
1324 extern int xdrrec_endofrecord(/* ??? */);
1325 extern int xdrrec_eof(/* ??? */);
1326 extern int xdrrec_skiprecord(/* ??? */);
1327 extern void xdrstdio_create(/* ??? */);
1328 extern void xprt_register(/* ??? */);
1329 extern void xprt_unregister(/* ??? */);
1330 extern double y0(double);
1331 extern double y1(double);
1332 extern double yn(int, double);
1333 extern int yp_all(char *, char *, struct ypall_callback
*);
1334 extern int yp_bind(const char *);
1335 extern int yp_first(char *, char *, char **, int *, char **, int *);
1336 extern int yp_get_default_domain(char **);
1337 extern int yp_master(char *, char *, char **);
1338 extern int yp_match(char *, char *, char *, int, char **, int *);
1339 extern int yp_next(char *, char *, char *, int, char **, int *, char **, int *);
1340 extern int yp_order(char *, char *, int *);
1341 extern void yp_unbind(const char *);
1342 extern char * yperr_string(int);
1343 extern int ypprot_err(unsigned int);
1344 extern u_int
* ypu_change_1(/* ??? */);
1345 extern u_int
* ypu_delete_1(/* ??? */);
1346 extern u_int
* ypu_insert_1(/* ??? */);
1347 extern u_int
* ypu_store_1(/* ??? */);