xref: /freebsd/contrib/less/funcs.h (revision 3ff01b231dfa83d518854c63e7c9cd1debd1139e)
1 public char * save LESSPARAMS ((constant char *s));
2 public VOID_POINTER ecalloc LESSPARAMS ((int count, unsigned int size));
3 public char * skipsp LESSPARAMS ((char *s));
4 public int sprefix LESSPARAMS ((char *ps, char *s, int uppercase));
5 public void quit LESSPARAMS ((int status));
6 public void raw_mode LESSPARAMS ((int on));
7 public void scrsize LESSPARAMS ((VOID_PARAM));
8 public char * special_key_str LESSPARAMS ((int key));
9 public void get_term LESSPARAMS ((VOID_PARAM));
10 public void init_mouse LESSPARAMS ((VOID_PARAM));
11 public void deinit_mouse LESSPARAMS ((VOID_PARAM));
12 public void init LESSPARAMS ((VOID_PARAM));
13 public void deinit LESSPARAMS ((VOID_PARAM));
14 public int interactive LESSPARAMS ((VOID_PARAM));
15 public void home LESSPARAMS ((VOID_PARAM));
16 public void add_line LESSPARAMS ((VOID_PARAM));
17 public void remove_top LESSPARAMS ((int n));
18 public void win32_scroll_up LESSPARAMS ((int n));
19 public void lower_left LESSPARAMS ((VOID_PARAM));
20 public void line_left LESSPARAMS ((VOID_PARAM));
21 public void check_winch LESSPARAMS ((VOID_PARAM));
22 public void goto_line LESSPARAMS ((int sindex));
23 public void vbell LESSPARAMS ((VOID_PARAM));
24 public void bell LESSPARAMS ((VOID_PARAM));
25 public void clear LESSPARAMS ((VOID_PARAM));
26 public void clear_eol LESSPARAMS ((VOID_PARAM));
27 public void clear_bot LESSPARAMS ((VOID_PARAM));
28 public COLOR_TYPE parse_color LESSPARAMS ((char *str, int *p_fg, int *p_bg));
29 public void at_enter LESSPARAMS ((int attr));
30 public void at_exit LESSPARAMS ((VOID_PARAM));
31 public void at_switch LESSPARAMS ((int attr));
32 public int is_at_equiv LESSPARAMS ((int attr1, int attr2));
33 public int apply_at_specials LESSPARAMS ((int attr));
34 public void putbs LESSPARAMS ((VOID_PARAM));
35 public int win32_kbhit LESSPARAMS ((VOID_PARAM));
36 public char WIN32getch LESSPARAMS ((VOID_PARAM));
37 public void WIN32setcolors LESSPARAMS ((int fg, int bg));
38 public void WIN32textout LESSPARAMS ((char *text, int len));
39 public void match_brac LESSPARAMS ((int obrac, int cbrac, int forwdir, int n));
40 public void ch_ungetchar LESSPARAMS ((int c));
41 public void end_logfile LESSPARAMS ((VOID_PARAM));
42 public void sync_logfile LESSPARAMS ((VOID_PARAM));
43 public int ch_seek LESSPARAMS ((POSITION pos));
44 public int ch_end_seek LESSPARAMS ((VOID_PARAM));
45 public int ch_end_buffer_seek LESSPARAMS ((VOID_PARAM));
46 public int ch_beg_seek LESSPARAMS ((VOID_PARAM));
47 public POSITION ch_length LESSPARAMS ((VOID_PARAM));
48 public POSITION ch_tell LESSPARAMS ((VOID_PARAM));
49 public int ch_forw_get LESSPARAMS ((VOID_PARAM));
50 public int ch_back_get LESSPARAMS ((VOID_PARAM));
51 public void ch_setbufspace LESSPARAMS ((int bufspace));
52 public void ch_flush LESSPARAMS ((VOID_PARAM));
53 public int seekable LESSPARAMS ((int f));
54 public void ch_set_eof LESSPARAMS ((VOID_PARAM));
55 public void ch_init LESSPARAMS ((int f, int flags));
56 public void ch_close LESSPARAMS ((VOID_PARAM));
57 public int ch_getflags LESSPARAMS ((VOID_PARAM));
58 public void ch_dump LESSPARAMS ((VOID_PARAM));
59 public void setfmt LESSPARAMS ((char *s, char **fmtvarptr, int *attrptr, char *default_fmt));
60 public void init_charset LESSPARAMS ((VOID_PARAM));
61 public int binary_char LESSPARAMS ((LWCHAR c));
62 public int control_char LESSPARAMS ((LWCHAR c));
63 public char * prchar LESSPARAMS ((LWCHAR c));
64 public char * prutfchar LESSPARAMS ((LWCHAR ch));
65 public int utf_len LESSPARAMS ((int ch));
66 public int is_utf8_well_formed LESSPARAMS ((char *ss, int slen));
67 public void utf_skip_to_lead LESSPARAMS ((char **pp, char *limit));
68 public LWCHAR get_wchar LESSPARAMS ((constant char *p));
69 public void put_wchar LESSPARAMS ((char **pp, LWCHAR ch));
70 public LWCHAR step_char LESSPARAMS ((char **pp, signed int dir, constant char *limit));
71 public int is_composing_char LESSPARAMS ((LWCHAR ch));
72 public int is_ubin_char LESSPARAMS ((LWCHAR ch));
73 public int is_wide_char LESSPARAMS ((LWCHAR ch));
74 public int is_combining_char LESSPARAMS ((LWCHAR ch1, LWCHAR ch2));
75 public void cmd_reset LESSPARAMS ((VOID_PARAM));
76 public void clear_cmd LESSPARAMS ((VOID_PARAM));
77 public void cmd_putstr LESSPARAMS ((constant char *s));
78 public int len_cmdbuf LESSPARAMS ((VOID_PARAM));
79 public void cmd_repaint LESSPARAMS ((constant char *old_cp));
80 public void set_mlist LESSPARAMS ((void *mlist, int cmdflags));
81 public void cmd_addhist LESSPARAMS ((struct mlist *mlist, constant char *cmd, int modified));
82 public void cmd_accept LESSPARAMS ((VOID_PARAM));
83 public int cmd_char LESSPARAMS ((int c));
84 public LINENUM cmd_int LESSPARAMS ((long *frac));
85 public char * get_cmdbuf LESSPARAMS ((VOID_PARAM));
86 public char * cmd_lastpattern LESSPARAMS ((VOID_PARAM));
87 public void init_cmdhist LESSPARAMS ((VOID_PARAM));
88 public void save_cmdhist LESSPARAMS ((VOID_PARAM));
89 public int in_mca LESSPARAMS ((VOID_PARAM));
90 public void dispversion LESSPARAMS ((VOID_PARAM));
91 public int getcc LESSPARAMS ((VOID_PARAM));
92 public void ungetcc LESSPARAMS ((LWCHAR c));
93 public void ungetcc_back LESSPARAMS ((LWCHAR c));
94 public void ungetsc LESSPARAMS ((char *s));
95 public LWCHAR peekcc LESSPARAMS ((VOID_PARAM));
96 public void commands LESSPARAMS ((VOID_PARAM));
97 public int cvt_length LESSPARAMS ((int len, int ops));
98 public int * cvt_alloc_chpos LESSPARAMS ((int len));
99 public void cvt_text LESSPARAMS ((char *odst, char *osrc, int *chpos, int *lenp, int ops));
100 public void expand_cmd_tables LESSPARAMS ((VOID_PARAM));
101 public void init_cmds LESSPARAMS ((VOID_PARAM));
102 public void add_fcmd_table LESSPARAMS ((char *buf, int len));
103 public void add_ecmd_table LESSPARAMS ((char *buf, int len));
104 public int fcmd_decode LESSPARAMS ((char *cmd, char **sp));
105 public int ecmd_decode LESSPARAMS ((char *cmd, char **sp));
106 public char * lgetenv LESSPARAMS ((char *var));
107 public int isnullenv LESSPARAMS ((char* s));
108 public int lesskey LESSPARAMS ((char *filename, int sysvar));
109 public void add_hometable LESSPARAMS ((char *envname, char *def_filename, int sysvar));
110 public int editchar LESSPARAMS ((int c, int flags));
111 public void init_textlist LESSPARAMS ((struct textlist *tlist, char *str));
112 public char * forw_textlist LESSPARAMS ((struct textlist *tlist, char *prev));
113 public char * back_textlist LESSPARAMS ((struct textlist *tlist, char *prev));
114 public int edit LESSPARAMS ((char *filename));
115 public int edit_ifile LESSPARAMS ((IFILE ifile));
116 public int edit_list LESSPARAMS ((char *filelist));
117 public int edit_first LESSPARAMS ((VOID_PARAM));
118 public int edit_last LESSPARAMS ((VOID_PARAM));
119 public int edit_next LESSPARAMS ((int n));
120 public int edit_prev LESSPARAMS ((int n));
121 public int edit_index LESSPARAMS ((int n));
122 public IFILE save_curr_ifile LESSPARAMS ((VOID_PARAM));
123 public void unsave_ifile LESSPARAMS ((IFILE save_ifile));
124 public void reedit_ifile LESSPARAMS ((IFILE save_ifile));
125 public void reopen_curr_ifile LESSPARAMS ((VOID_PARAM));
126 public int edit_stdin LESSPARAMS ((VOID_PARAM));
127 public void cat_file LESSPARAMS ((VOID_PARAM));
128 public void use_logfile LESSPARAMS ((char *filename));
129 public char * shell_unquote LESSPARAMS ((char *str));
130 public char * get_meta_escape LESSPARAMS ((VOID_PARAM));
131 public char * shell_quote LESSPARAMS ((char *s));
132 public char * homefile LESSPARAMS ((char *filename));
133 public char * fexpand LESSPARAMS ((char *s));
134 public char * fcomplete LESSPARAMS ((char *s));
135 public int bin_file LESSPARAMS ((int f));
136 public char * lglob LESSPARAMS ((char *filename));
137 public char * lrealpath LESSPARAMS ((char *path));
138 public char * open_altfile LESSPARAMS ((char *filename, int *pf, void **pfd));
139 public void close_altfile LESSPARAMS ((char *altfilename, char *filename));
140 public int is_dir LESSPARAMS ((char *filename));
141 public char * bad_file LESSPARAMS ((char *filename));
142 public POSITION filesize LESSPARAMS ((int f));
143 public char * shell_coption LESSPARAMS ((VOID_PARAM));
144 public char * last_component LESSPARAMS ((char *name));
145 public int eof_displayed LESSPARAMS ((VOID_PARAM));
146 public int entire_file_displayed LESSPARAMS ((VOID_PARAM));
147 public void squish_check LESSPARAMS ((VOID_PARAM));
148 public void forw LESSPARAMS ((int n, POSITION pos, int force, int only_last, int nblank));
149 public void back LESSPARAMS ((int n, POSITION pos, int force, int only_last));
150 public void forward LESSPARAMS ((int n, int force, int only_last));
151 public void backward LESSPARAMS ((int n, int force, int only_last));
152 public int get_back_scroll LESSPARAMS ((VOID_PARAM));
153 public int get_one_screen LESSPARAMS ((VOID_PARAM));
154 public void del_ifile LESSPARAMS ((IFILE h));
155 public IFILE next_ifile LESSPARAMS ((IFILE h));
156 public IFILE prev_ifile LESSPARAMS ((IFILE h));
157 public IFILE getoff_ifile LESSPARAMS ((IFILE ifile));
158 public int nifile LESSPARAMS ((VOID_PARAM));
159 public IFILE get_ifile LESSPARAMS ((char *filename, IFILE prev));
160 public char * get_filename LESSPARAMS ((IFILE ifile));
161 public char * get_real_filename LESSPARAMS ((IFILE ifile));
162 public int get_index LESSPARAMS ((IFILE ifile));
163 public void store_pos LESSPARAMS ((IFILE ifile, struct scrpos *scrpos));
164 public void get_pos LESSPARAMS ((IFILE ifile, struct scrpos *scrpos));
165 public void set_open LESSPARAMS ((IFILE ifile));
166 public int opened LESSPARAMS ((IFILE ifile));
167 public void hold_ifile LESSPARAMS ((IFILE ifile, int incr));
168 public int held_ifile LESSPARAMS ((IFILE ifile));
169 public void * get_filestate LESSPARAMS ((IFILE ifile));
170 public void set_filestate LESSPARAMS ((IFILE ifile, void *filestate));
171 public void set_altpipe LESSPARAMS ((IFILE ifile, void *p));
172 public void * get_altpipe LESSPARAMS ((IFILE ifile));
173 public void set_altfilename LESSPARAMS ((IFILE ifile, char *altfilename));
174 public char * get_altfilename LESSPARAMS ((IFILE ifile));
175 public void if_dump LESSPARAMS ((VOID_PARAM));
176 public POSITION forw_line_seg LESSPARAMS ((POSITION curr_pos, int get_segpos));
177 public POSITION forw_line LESSPARAMS ((POSITION curr_pos));
178 public POSITION back_line LESSPARAMS ((POSITION curr_pos));
179 public void set_attnpos LESSPARAMS ((POSITION pos));
180 public void jump_forw LESSPARAMS ((VOID_PARAM));
181 public void jump_forw_buffered LESSPARAMS ((VOID_PARAM));
182 public void jump_back LESSPARAMS ((LINENUM linenum));
183 public void repaint LESSPARAMS ((VOID_PARAM));
184 public void jump_percent LESSPARAMS ((int percent, long fraction));
185 public void jump_line_loc LESSPARAMS ((POSITION pos, int sline));
186 public void jump_loc LESSPARAMS ((POSITION pos, int sline));
187 public void init_line LESSPARAMS ((VOID_PARAM));
188 public int is_ascii_char LESSPARAMS ((LWCHAR ch));
189 public void prewind LESSPARAMS ((VOID_PARAM));
190 public void plinestart LESSPARAMS ((POSITION pos));
191 public int line_pfx_width LESSPARAMS ((VOID_PARAM));
192 public void pshift_all LESSPARAMS ((VOID_PARAM));
193 public int pwidth LESSPARAMS ((LWCHAR ch, int a, LWCHAR prev_ch, int prev_a));
194 public int is_ansi_end LESSPARAMS ((LWCHAR ch));
195 public int is_ansi_middle LESSPARAMS ((LWCHAR ch));
196 public void skip_ansi LESSPARAMS ((struct ansi_state *pansi, char **pp, constant char *limit));
197 public struct ansi_state * ansi_start LESSPARAMS ((LWCHAR ch));
198 public int ansi_step LESSPARAMS ((struct ansi_state *pansi, LWCHAR ch));
199 public void ansi_done LESSPARAMS ((struct ansi_state *pansi));
200 public int pappend LESSPARAMS ((int c, POSITION pos));
201 public int pflushmbc LESSPARAMS ((VOID_PARAM));
202 public void pdone LESSPARAMS ((int endline, int chopped, int forw));
203 public void set_status_col LESSPARAMS ((int c, int attr));
204 public int gline LESSPARAMS ((int i, int *ap));
205 public void null_line LESSPARAMS ((VOID_PARAM));
206 public POSITION forw_raw_line LESSPARAMS ((POSITION curr_pos, char **linep, int *line_lenp));
207 public POSITION back_raw_line LESSPARAMS ((POSITION curr_pos, char **linep, int *line_lenp));
208 public int rrshift LESSPARAMS ((VOID_PARAM));
209 public int set_color_map LESSPARAMS ((int attr, char *colorstr));
210 public char * get_color_map LESSPARAMS ((int attr));
211 public void clr_linenum LESSPARAMS ((VOID_PARAM));
212 public void add_lnum LESSPARAMS ((LINENUM linenum, POSITION pos));
213 public LINENUM find_linenum LESSPARAMS ((POSITION pos));
214 public POSITION find_pos LESSPARAMS ((LINENUM linenum));
215 public LINENUM currline LESSPARAMS ((int where));
216 public void lsystem LESSPARAMS ((char *cmd, char *donemsg));
217 public int pipe_mark LESSPARAMS ((int c, char *cmd));
218 public int pipe_data LESSPARAMS ((char *cmd, POSITION spos, POSITION epos));
219 public void init_mark LESSPARAMS ((VOID_PARAM));
220 public int badmark LESSPARAMS ((int c));
221 public void setmark LESSPARAMS ((int c, int where));
222 public void clrmark LESSPARAMS ((int c));
223 public void lastmark LESSPARAMS ((VOID_PARAM));
224 public void gomark LESSPARAMS ((int c));
225 public POSITION markpos LESSPARAMS ((int c));
226 public char posmark LESSPARAMS ((POSITION pos));
227 public void unmark LESSPARAMS ((IFILE ifile));
228 public void mark_check_ifile LESSPARAMS ((IFILE ifile));
229 public void save_marks LESSPARAMS ((FILE *fout, char *hdr));
230 public void restore_mark LESSPARAMS ((char *line));
231 public void opt_o LESSPARAMS ((int type, char *s));
232 public void opt__O LESSPARAMS ((int type, char *s));
233 public void opt_j LESSPARAMS ((int type, char *s));
234 public void calc_jump_sline LESSPARAMS ((VOID_PARAM));
235 public void opt_shift LESSPARAMS ((int type, char *s));
236 public void calc_shift_count LESSPARAMS ((VOID_PARAM));
237 public void opt_k LESSPARAMS ((int type, char *s));
238 public void opt_t LESSPARAMS ((int type, char *s));
239 public void opt__T LESSPARAMS ((int type, char *s));
240 public void opt_p LESSPARAMS ((int type, char *s));
241 public void opt__P LESSPARAMS ((int type, char *s));
242 public void opt_b LESSPARAMS ((int type, char *s));
243 public void opt_i LESSPARAMS ((int type, char *s));
244 public void opt__V LESSPARAMS ((int type, char *s));
245 public void opt_D LESSPARAMS ((int type, char *s));
246 public void opt_x LESSPARAMS ((int type, char *s));
247 public void opt_quote LESSPARAMS ((int type, char *s));
248 public void opt_rscroll LESSPARAMS ((int type, char *s));
249 public void opt_query LESSPARAMS ((int type, char *s));
250 public void opt_mousecap LESSPARAMS ((int type, char *s));
251 public void opt_wheel_lines LESSPARAMS ((int type, char *s));
252 public void opt_linenum_width LESSPARAMS ((int type, char *s));
253 public void opt_status_col_width LESSPARAMS ((int type, char *s));
254 public void opt_ttyin_name LESSPARAMS ((int type, char *s));
255 public void opt_rstat LESSPARAMS ((int type, char *s));
256 public int get_swindow LESSPARAMS ((VOID_PARAM));
257 public char * propt LESSPARAMS ((int c));
258 public void scan_option LESSPARAMS ((char *s));
259 public void toggle_option LESSPARAMS ((struct loption *o, int lower, char *s, int how_toggle));
260 public int opt_has_param LESSPARAMS ((struct loption *o));
261 public char * opt_prompt LESSPARAMS ((struct loption *o));
262 public char * opt_toggle_disallowed LESSPARAMS ((int c));
263 public int isoptpending LESSPARAMS ((VOID_PARAM));
264 public void nopendopt LESSPARAMS ((VOID_PARAM));
265 public int getnum LESSPARAMS ((char **sp, char *printopt, int *errp));
266 public long getfraction LESSPARAMS ((char **sp, char *printopt, int *errp));
267 public int get_quit_at_eof LESSPARAMS ((VOID_PARAM));
268 public void init_option LESSPARAMS ((VOID_PARAM));
269 public struct loption * findopt LESSPARAMS ((int c));
270 public struct loption * findopt_name LESSPARAMS ((char **p_optname, char **p_oname, int *p_err));
271 public int iread LESSPARAMS ((int fd, unsigned char *buf, unsigned int len));
272 public void intread LESSPARAMS ((VOID_PARAM));
273 public time_type get_time LESSPARAMS ((VOID_PARAM));
274 public char * errno_message LESSPARAMS ((char *filename));
275 public int percentage LESSPARAMS ((POSITION num, POSITION den));
276 public POSITION percent_pos LESSPARAMS ((POSITION pos, int percent, long fraction));
277 public int  os9_signal LESSPARAMS ((int type, RETSIGTYPE (*handler)()));
278 public void sleep_ms LESSPARAMS ((int ms));
279 public void put_line LESSPARAMS ((VOID_PARAM));
280 public void flush LESSPARAMS ((VOID_PARAM));
281 public void set_output LESSPARAMS ((int fd));
282 public int putchr LESSPARAMS ((int c));
283 public void putstr LESSPARAMS ((constant char *s));
284 public int less_printf LESSPARAMS ((char *fmt, PARG *parg));
285 public void get_return LESSPARAMS ((VOID_PARAM));
286 public void error LESSPARAMS ((char *fmt, PARG *parg));
287 public void ierror LESSPARAMS ((char *fmt, PARG *parg));
288 public int query LESSPARAMS ((char *fmt, PARG *parg));
289 public int compile_pattern LESSPARAMS ((char *pattern, int search_type, int show_error, PATTERN_TYPE *comp_pattern));
290 public void uncompile_pattern LESSPARAMS ((PATTERN_TYPE *pattern));
291 public int valid_pattern LESSPARAMS ((char *pattern));
292 public int is_null_pattern LESSPARAMS ((PATTERN_TYPE pattern));
293 public int match_pattern LESSPARAMS ((PATTERN_TYPE pattern, char *tpattern, char *line, int line_len, char **sp, char **ep, int notbol, int search_type));
294 public char * pattern_lib_name LESSPARAMS ((VOID_PARAM));
295 public POSITION position LESSPARAMS ((int sindex));
296 public void add_forw_pos LESSPARAMS ((POSITION pos));
297 public void add_back_pos LESSPARAMS ((POSITION pos));
298 public void pos_clear LESSPARAMS ((VOID_PARAM));
299 public void pos_init LESSPARAMS ((VOID_PARAM));
300 public int onscreen LESSPARAMS ((POSITION pos));
301 public int empty_screen LESSPARAMS ((VOID_PARAM));
302 public int empty_lines LESSPARAMS ((int s, int e));
303 public void get_scrpos LESSPARAMS ((struct scrpos *scrpos, int where));
304 public int sindex_from_sline LESSPARAMS ((int sline));
305 public void init_prompt LESSPARAMS ((VOID_PARAM));
306 public char * pr_expand LESSPARAMS ((constant char *proto, int maxwidth));
307 public char * eq_message LESSPARAMS ((VOID_PARAM));
308 public char * pr_string LESSPARAMS ((VOID_PARAM));
309 public char * wait_message LESSPARAMS ((VOID_PARAM));
310 public void init_search LESSPARAMS ((VOID_PARAM));
311 public void repaint_hilite LESSPARAMS ((int on));
312 public void clear_attn LESSPARAMS ((VOID_PARAM));
313 public void undo_search LESSPARAMS ((int clear));
314 public void clr_hlist LESSPARAMS ((struct hilite_tree *anchor));
315 public void clr_hilite LESSPARAMS ((VOID_PARAM));
316 public void clr_filter LESSPARAMS ((VOID_PARAM));
317 public int is_filtered LESSPARAMS ((POSITION pos));
318 public POSITION next_unfiltered LESSPARAMS ((POSITION pos));
319 public POSITION prev_unfiltered LESSPARAMS ((POSITION pos));
320 public int is_hilited_attr LESSPARAMS ((POSITION pos, POSITION epos, int nohide, int *p_matches));
321 public void chg_hilite LESSPARAMS ((VOID_PARAM));
322 public void chg_caseless LESSPARAMS ((VOID_PARAM));
323 public int search LESSPARAMS ((int search_type, char *pattern, int n));
324 public void prep_hilite LESSPARAMS ((POSITION spos, POSITION epos, int maxlines));
325 public void set_filter_pattern LESSPARAMS ((char *pattern, int search_type));
326 public int is_filtering LESSPARAMS ((VOID_PARAM));
327 public RETSIGTYPE winch LESSPARAMS ((int type));
328 public void init_signals LESSPARAMS ((int on));
329 public void psignals LESSPARAMS ((VOID_PARAM));
330 public void cleantags LESSPARAMS ((VOID_PARAM));
331 public int gettagtype LESSPARAMS ((VOID_PARAM));
332 public void findtag LESSPARAMS ((char *tag));
333 public POSITION tagsearch LESSPARAMS ((VOID_PARAM));
334 public char * nexttag LESSPARAMS ((int n));
335 public char * prevtag LESSPARAMS ((int n));
336 public int ntags LESSPARAMS ((VOID_PARAM));
337 public int curr_tag LESSPARAMS ((VOID_PARAM));
338 public int edit_tagfile LESSPARAMS ((VOID_PARAM));
339 public char * tty_device LESSPARAMS ((VOID_PARAM));
340 public void open_getchr LESSPARAMS ((VOID_PARAM));
341 public void close_getchr LESSPARAMS ((VOID_PARAM));
342 public int default_wheel_lines LESSPARAMS ((VOID_PARAM));
343 public void rstat LESSPARAMS ((char st));
344 public int getchr LESSPARAMS ((VOID_PARAM));
345