File: osdefs.h

package info (click to toggle)
xlispstat 3.52.14-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 7,560 kB
  • ctags: 12,676
  • sloc: ansic: 91,357; lisp: 21,759; sh: 1,525; makefile: 521; csh: 1
file content (432 lines) | stat: -rw-r--r-- 17,141 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
#ifdef XLISP_STAT
/* menus.c */
extern LVAL xsmenu_isnew(V), xsallocate_menu(V), xsdispose_menu(V),
  xsinstall_menu(V), xsremove_menu(V), xsupdate_menu(V), xsallocated_p(V),
  xsmenu_title(V), xsmenu_items(V), xsinstalled_p(V), xsappend_items(V),
  xsdelete_items(V), xsmenu_select(V), xsmenu_popup(V), xsmenu_enabled(V);

#ifdef MACINTOSH
extern LVAL xsapple_menu_isnew(V), xsapple_menu_select(V);
#endif /* MACINTOSH */

extern LVAL xsitem_isnew(V), xsitem_title(V), xsitem_key(V), xsitem_style(V),
  xsitem_mark(V), xsitem_installed_p(V), xsitem_update(V), xsitem_action(V),
  xsitem_do_action(V), xsitem_enabled(V);
  
#ifdef MACINTOSH
extern LVAL xsabout_xlisp_stat(V);
extern LVAL xlaunchapp(V);
extern LVAL xstrtoostype(V);
extern LVAL xgetfrontprocess(V);
extern LVAL xsetfrontprocess(V);
extern LVAL xgetprocesslist(V);
extern LVAL xgettarget(V);
extern LVAL xgettargetlist(V);
extern LVAL xbrowsetargets(V);
extern LVAL xsendappleevent(V);
extern LVAL xppcstartup(V);
#endif /* MACINTOSH */
#ifdef MSDOS
#ifdef _Windows
extern LVAL xsabout_xlisp_stat(V);
extern LVAL msw_cut(V), msw_copy(V), msw_paste(V), msw_clear(V),
  msw_copy_paste(V), msw_tile(V), msw_cascade(V), msw_closeall(V),
  msw_arrange_icons(V), msw_exit(V), msw_win_exec(V), msw_win_help(V),
  msw_free_mem(V), msw_cursor_size(V), msw_print(V), msw_pagesetup(V);
extern LVAL dde_connect(V), dde_client_transaction(V), dde_disconnect(V);
extern LVAL dde_name_service(V), dde_services(V);
extern LVAL xsopenfiledialog(V), xssetfiledialog(V);
extern LVAL msw_get_profile_string(V), msw_write_profile_string(V);
#endif /* _Windows */
#endif /* MSDOS */

/* dialog.c */
extern LVAL xsdialog_isnew(V), xsdialog_allocate(V), xsdialog_remove(V),
  xsdialog_allocated_p(V), xsdialog_default_button(V), xsdialog_modal(V),
  xsdialog_item_do_action(V), xsdialog_item_action(V), xsbutton_item_isnew(V),
  xstoggle_item_isnew(V), xstoggle_item_value(V), xstext_item_isnew(V),
  xstext_item_text(V), xschoice_item_isnew(V), xschoice_item_value(V),
  xsscroll_item_isnew(V), xsscroll_item_value(V), xsscroll_item_max(V),
  xsscroll_item_min(V), xsscroll_item_action(V),
  xslist_item_isnew(V), xslist_item_action(V), xslist_item_text(V),
  xslist_item_selection(V);
extern LVAL xssysbeep(V);

#ifdef MACINTOSH
/* edit.c */
extern LVAL xsopenfiledialog(V), xssetfiledialog(V), xsfrontwindow(V), xshidefrontwindow(V),
  xssystem_edit(V), xssetvolume(V);
extern LVAL xslistener_isnew(V), xslistener_allocate(V);
extern LVAL xsedit_window_isnew(V), xsedit_window_allocate(V), xsedit_window_cut(V),
  xsedit_window_copy(V),
  xsedit_window_paste(V), xsedit_window_revert(V), xsedit_window_save(V), 
  xsedit_window_save_as(V), xsedit_window_save_copy(V),
  xsedit_window_selection_stream(V), xsedit_window_paste_stream(V),
  xsedit_window_flush_window(V), xsedit_window_paste_string(V),
  xsedit_window_remove(V), xsedit_window_activate(V), xsedit_window_update(V),
  xsedit_window_find(V);
#endif /* MACINTOSH */

/* experimental.c */
extern LVAL xsgetenv(V);

/* common.c */
extern LVAL xsstringsearch(V), xsrcomplex(V), xsrconjugate(V),
  xsrrealpart(V), xsrimagpart(V);

/* commonmath.c */
extern LVAL xlog(V), xfloor(V), xceil(V), xround(V), xasin(V), xacos(V),
  xatan(V);

/* basics.c */
extern LVAL xssequencep(V), xscopyvector(V), xscopyarray(V), xssplitlist(V),
  xswhich(V), xsiseq(V), xsrepeat(V), xsselect(V), xssetselect(V),
  xspermutearray(V);

/* compound.c */
extern LVAL xscompoundp(V), xscompound_length(V), xscompound_seq(V),
  xsmap_elements(V);

/* distributions.c */
extern LVAL xsrnormalcdf(V), xsrbetacdf(V), xsrgammacdf(V), xsrchisqcdf(V),
  xsrtcdf(V), xsrfcdf(V), xsrcauchycdf(V), xsrloggamma(V), xsrbnormcdf(V),
  xsrnormalquant(V), xsrcauchyquant(V), xsrbetaquant(V), xsrgammaquant(V), 
  xsrchisqquant(V), xsrtquant(V), xsrfquant(V), xsruniformrand(V),
  xsrnormalrand(V), xsrcauchyrand(V), xsrgammarand(V), xsrchisqrand(V),
  xsrtrand(V), xsrbetarand(V), xsrfrand(V),
  xsrnormaldens(V), xsrcauchydens(V), xsrbetadens(V), xsrgammadens(V),
  xsrchisqdens(V), xsrtdens(V), xsrfdens(V), xsruniformrand(V);

/* ddistributions.c */
extern LVAL xsrbinomialcdf(V), xsrpoissoncdf(V), xsrbinomialpmf(V), xsrpoissonpmf(V),
  xsrbinomialquant(V), xsrpoissonquant(V), xsrbinomialrand(V), xsrpoissonrand(V);

/* linalg.c */
extern LVAL xsanycomplex(V), xstransposeinto(V),
  xsgen2linalg(V), xslinalg2gen(V);
extern LVAL xslpdgeco(V), xslpdgedi(V), xslpdgefa(V), xslpdgesl(V);
extern LVAL xslpzgeco(V), xslpzgedi(V), xslpzgefa(V), xslpzgesl(V);
extern LVAL xslpdsvdc(V), xslpzsvdc(V);
extern LVAL xslpdqrdc(V), xslpdqrsl(V), xslpzqrdc(V), xslpzqrsl(V);
extern LVAL xseispackch(V), xseispackrs(V);
extern LVAL xsgetsmdata(V), xsbasespline(V), xsbasekernelsmooth(V);
extern LVAL xsbaselowess(V);
extern LVAL xschol_decomp(V),
  xsmake_rotation(V), xsspline(V), xskernel_dens(V), xskernel_smooth(V), 
  xssurface_contour(V), xsfft(V), xsaxpy(V);

/* mats1.c */
extern LVAL xsmatmult(V), xscrossproduct(V), xsdiagonal(V),
  xsrowlist(V), xscolumnlist(V), xsbindrows(V), xsbindcols(V),
  xstransposelist(V);

/* mats2.c */
extern LVAL xsbasemkswpmat(V), xssweepinplace(V);
extern LVAL xsmakesweepmatrix(V), xssweepoperator(V);

/* math.c */
extern LVAL xsradd(V), xsrsub(V), xsrmul(V), xsrdiv(V),
  xsrrem(V), xsrmod(V), xsrmin(V), xsrmax(V), xsrexpt(V), xsrlog(V);
#ifdef BIGNUMS
extern LVAL xsrfdiv(V), xsrfexpt(V);
extern LVAL xsrdenominator(V), xsrnumerator(V), xsrrational(V);
#endif /* BIGNUMS */

extern LVAL xsrlogand(V), xsrlogior(V), xsrlogxor(V), xsrlognot(V);

extern LVAL xsrabs(V), xsradd1(V), xsrsub1(V), xsrsin(V), xsrcos(V), xsrtan(V),
  xsrexp(V), xsrsqrt(V), xsrfix(V), xsrfloat(V), xsrrand(V), xsrfloor(V), xsrceil(V),
  xsrround(V), xsrasin(V), xsracos(V), xsratan(V), xsrphase(V);

extern LVAL xsrminusp(V), xsrzerop(V), xsrplusp(V), xsrevenp(V), xsroddp(V);

extern LVAL xsrlss(V), xsrleq(V), xsrequ(V), xsrneq(V), xsrgeq(V), xsrgtr(V);

/* objects.c */
extern LVAL xskind_of_p(V), xsslot_value(V), xsobject_null_method(V);
extern LVAL xsmake_object(V), xsreparent_object(V), xshas_slot(V), xsadd_slot(V),
  xsdelete_slot(V), xsmslot_value(V), xshas_method(V), xsadd_method(V),
  xsdelete_method(V), xsmessage_method(V), xmsend(V), xscall_method(V), xscall_next(V),
  xsshow_object(V), xmsendsuper(V), xsobject_isnew(V), xsparents(V),
  xsprecedence_list(V), xsobject_slots(V), xsobject_methods(V), xsdefmeth(V),
  xsobject_documentation(V), xsdefproto(V), xsmakeproto(V);
  
/* optimize.c */
#ifdef OPTIMIZE
extern LVAL xsbracket_search(V), xsgolden_search(V), xsparabolic_search(V);
#endif /* OPTIMIZE */

/* sortdata.c */
extern LVAL xssortdata(V), xsorder(V), xsrank(V);

/* statistics.c */
extern LVAL xssum(V), xsprod(V), xsmin(V), xsmax(V), xscount(V),
  xselement_seq(V), xsifelse(V), xsmean(V), xssample(V);

/* windows.c */
extern LVAL xsshowwindow(V), xshidewindow(V);
extern LVAL  xsscreen_size(V), xsscreen_has_color(V), xssystem_has_windows(V),
  xswindow_title(V), xswindow_location(V), xswindow_size(V),
  xswindow_frame_location(V), xswindow_frame_size(V), xsflush_graphics(V);

/* xsiviewwindow.c */
extern LVAL iview_window_isnew(V), iview_window_allocate(V);
extern LVAL xsiview_window_update(V), xsiview_window_activate(V);
extern LVAL iview_window_idle_on(V);
extern LVAL iview_window_menu(V);
extern LVAL iview_window_remove(V), iview_window_while_button_down(V),
  iview_window_show_window(V);
extern LVAL iview_window_canvas_width(V), iview_window_canvas_height(V),
  iview_window_line_type(V), iview_window_draw_mode(V),
  iview_window_draw_color(V), iview_window_back_color(V), iview_window_use_color(V),
  iview_window_reverse_colors(V), iview_window_view_rect(V),
  iview_window_line_width(V);
extern LVAL iview_window_has_h_scroll(V), iview_window_has_v_scroll(V),
  iview_window_scroll(V), iview_window_h_scroll_incs(V),
  iview_window_v_scroll_incs(V);
extern LVAL iview_window_draw_line(V), iview_window_draw_point(V),
  iview_window_erase_rect(V),
  iview_window_frame_rect(V), iview_window_paint_rect(V),
  iview_window_erase_oval(V), iview_window_frame_oval(V),
  iview_window_paint_oval(V), iview_window_erase_arc(V),
  iview_window_frame_arc(V), iview_window_paint_arc(V),
  iview_window_erase_poly(V), iview_window_frame_poly(V),
  iview_window_paint_poly(V);
extern LVAL iview_window_text_ascent(V), iview_window_text_descent(V), 
  iview_window_text_width(V),
  iview_window_draw_string(V), iview_window_draw_string_up(V),
  iview_window_draw_text(V), iview_window_draw_text_up(V);
extern LVAL iview_window_draw_symbol(V), iview_window_replace_symbol(V);
extern LVAL iview_window_start_buffering(V), iview_window_buffer_to_screen(V);
extern LVAL iview_window_clip_rect(V), iview_window_cursor(V),
  iview_window_reset_buffer(V);
extern LVAL iview_window_dump_image(V);
extern LVAL gw_make_color(V), gw_free_color(V), gw_make_cursor(V),
  gw_free_cursor(V), gw_draw_bitmap(V);

/* xsiviewinternal.c */
extern LVAL iview_isnew(V), iview_allocate(V);
extern LVAL iview_content_rect(V), iview_content_origin(V),
  iview_content_variables(V), iview_click_range(V), iview_mouse_mode(V),
  iview_showing_labels(V), iview_margin(V), iview_fixed_aspect(V), iview_dirty(V);
extern LVAL iview_x_axis(V), iview_y_axis(V);
extern LVAL iview_brush(V), iview_erase_brush(V), iview_draw_brush(V),
  iview_move_brush(V), iview_resize_brush(V);
extern LVAL iview_std_click(V), iview_std_motion(V), iview_do_click(V),
  iview_do_motion(V), iview_unselect_all_points(V),
  iview_erase_selection(V), iview_mask_selection(V),
  iview_unmask_all_points(V), iview_show_all_points(V),
  iview_all_points_showing(V), iview_all_points_unmasked(V),
  iview_any_points_selected(V);
extern LVAL iview_linked(V), iview_links(V), iview_unlink_all_windows(V);

/* xsiview.c */
extern LVAL iview_num_variables(V), iview_variable_label(V), iview_range(V),
  iview_scaled_range(V), iview_screen_range(V), iview_transformation(V),
  iview_apply_transformation(V);

extern LVAL iview_add_points(V), iview_clear_points(V), iview_num_points(V), 
  iview_point_coordinate(V), iview_point_screen_coordinate(V),
  iview_point_transformed_coordinate(V),
  iview_point_masked(V), iview_point_color(V), iview_point_state(V),
  iview_point_screen_state(V), iview_point_marked(V),
  iview_point_label(V), iview_point_symbol(V);
  
extern LVAL iview_add_lines(V), iview_clear_lines(V), iview_num_lines(V),
  iview_line_coordinate(V), iview_line_screen_coordinate(V),
  iview_line_transformed_coordinate(V),
  iview_line_masked(V), iview_line_color(V), iview_line_next(V),
  iview_line_type(V), iview_line_width(V);

#ifdef USESTRINGS
extern LVAL iview_add_strings(V), iview_clear_strings(V), iview_num_strings(V),
  iview_string_coordinate(V), iview_string_screen_coordinate(V),
  iview_string_transformed_coordinate(V),
  iview_string_masked(V), iview_string_color(V), iview_string_modifiers(V);
#endif /* USESTRINGS */

extern LVAL iview_draw_data_points(V), iview_draw_data_lines(V);
#ifdef USESTRINGS
extern LVAL iview_draw_data_strings(V);
#endif /* USESTRINGS */

extern LVAL iview_std_resize(V), iview_std_redraw(V),
  iview_std_redraw_background(V), iview_std_redraw_content(V), 
  iview_std_clear_content(V),
  iview_std_adjust_screen(V), iview_std_adjust_points_in_rect(V),
  iview_std_adjust_screen_point(V), iview_std_mark_points_in_rect(V);

extern LVAL iview_rotate_2(V);
extern LVAL iview_get_nice_range(V);
extern LVAL iview_adjust_depth_cuing(V);

/* xsiviewcustom.c */
extern LVAL iview_spin_allocate(V),
  iview_spin_content_variables(V), 
  iview_spin_showing_axes(V), iview_spin_depth_cuing(V),
  iview_spin_resize(V), 
  iview_spin_angle(V), iview_spin_rotate(V),
  iview_spin_redraw_content(V);
extern LVAL iview_scatmat_allocate(V), iview_scatmat_resize(V),
  iview_scatmat_redraw_content(V),iview_scatmat_click(V), 
  iview_scatmat_motion(V),
  iview_scatmat_add_points(V), iview_scatmat_add_lines(V),
  iview_scatmat_adjust_screen_point(V), iview_scatmat_adjust_points_in_rect(V),
  iview_scatmat_mark_points_in_rect(V);
extern LVAL iview_list_allocate(V), iview_list_redraw_content(V), 
  iview_list_add_points(V), iview_list_adjust_screen_point(V),
  iview_list_adjust_points_in_rect(V), iview_list_mark_points_in_rect(V);
extern LVAL iview_hist_isnew(V), iview_hist_allocate(V), iview_hist_add_points(V),
  iview_hist_clear_points(V), iview_hist_resize(V), 
  iview_hist_redraw_content(V), iview_hist_adjust_screen(V),
  iview_hist_num_bins(V), iview_hist_bin_counts(V),
  iview_hist_adjust_screen_point(V), iview_hist_adjust_points_in_rect(V),
  iview_hist_mark_points_in_rect(V);
extern LVAL iview_plot2d_add_points(V), iview_plot2d_add_lines(V);
#ifdef USESTRINGS
extern LVAL iview_scatmat_add_strings(V), iview_plot2d_add_strings(V);
#endif /* USESTRINGS */
  
/* xsgraphics.c */
extern LVAL iview_point_selected(V), iview_point_hilited(V),
  iview_point_showing(V),
  iview_hist_adjust_to_data(V), iview_plot2d_adjust_to_data(V),
  iview_adjust_to_data(V), iview_spin_draw_axes(V);
#ifdef MACINTOSH
extern LVAL iview_window_copy_to_clip(V);
#endif /* MACINTOSH */
extern LVAL xshistogram(V), xsplot_points(V), xsplot_lines(V), xsspin_plot(V),
  xsscatterplot_matrix(V), xsnamelist(V);
extern LVAL iview_visible_range(V), iview_scale_to_range(V), iview_scale(V),
  iview_shift(V), iview_clear_masks(V), iview_slice_variable(V), 
  iview_real_to_screen(V), iview_screen_to_real(V), iview_scaled_to_screen(V), 
  iview_screen_to_scaled(V), iview_points_in_rect(V),
  iview_window_drag_grey_rect(V), iview_points_showing(V),
  iview_points_hilited(V), iview_points_selected(V),
  iview_cycle_selection_symbols(V);

#ifdef MACINTOSH
/* macxsgraph.c */
extern LVAL xspick_color(V);

/* macdynload.c */
extern LVAL xsopen_resfile(V), xsclose_resfile(V), xscall_cfun(V);
#endif /* MACINTOSH */

#ifdef MSDOS
#ifdef _Windows
extern LVAL xsload_dll(V), xsfree_dll(V), xscall_cfun(V);
#endif /* _Windows */
#endif /* MSDOS */

#ifdef X11WINDOWS
extern LVAL xsparse_color(V), xsbest_cursor_size(V), xsbitmap_from_file(V),
  xsx11_options(V);
#endif /* X11WINDOWS */

#ifdef UNIX
extern LVAL gnupointplot(V), gnulineplot(V);
#endif /* UNIX */
#ifdef FOREIGNCALL
extern LVAL xsdynload(V), xscall_cfun(V), xscall_fsub(V), xscall_lfun(V);
#endif /* FOREIGNCALL */
#ifdef UNIX
extern LVAL xssystem(V);
extern LVAL Prim_POPEN(V), Prim_PCLOSE(V);
#endif /* UNIX */

#ifdef FILETABLE
extern int getslot _((void));
#endif

#ifdef MSDOS
/* xsgraphics.c */
extern LVAL gnupointplot(V), gnulineplot(V);

/* msstuff.c */
extern LVAL xsystem(V),xgetkey(V);
#endif /* MSDOS */
#ifdef BYTECODE
extern LVAL xlmakebcode(V), xlbcclose(V), xldval(V), xlcoercemacro(V),
  xlgetlambdaname(V);
extern LVAL xlmakecpsnode(V), xlcpsinternal(V),
  xlcpstransform(V), xlcpsleafnodep(V), xlcpslambdanodep(V),
  xlcpscallnodep(V), xlcpsanyrefs(V), xlcpsfindrefs(V),
  xlcpsnodechildren(V), xlcpsnodeparent(V), xlcpsnodesimplified(V),
  xlcpsnodenote(V), xlcpsleafnodevalue(V), xlcpsleafnodecount(V),
  xlcpslambdanodearglist(V), xlcpslambdanodelambdalist(V), xlcpslambdanodename(V),
  xlcpssetnodechildren(V), xlcpssetnodeparent(V),
  xlcpssetnodesimplified(V), xlcpssetnodenote(V), xlcpssetleafnodevalue(V),
  xlcpssetleafnodecount(V), xlcpssetlambdanodearglist(V),
  xlcpssetlambdanodelambdalist(V), xlcpssetlambdanodename(V),
  xlcpslambdanodebody(V), xlcpscallnodefunction(V), xlcpscallnodeargs(V);
#endif /* BYTECODE */

extern LVAL xblasdasum(V);
extern LVAL xblasdaxpy(V);
extern LVAL xblasdcopy(V);
extern LVAL xblasddot(V);
extern LVAL xblasdnrm2(V);
extern LVAL xblasdrot(V);
extern LVAL xblasdrotg(V);
extern LVAL xblasdscal(V);
extern LVAL xblasdswap(V);
extern LVAL xblasidamax(V);
extern LVAL xblasizamax(V);
extern LVAL xblasdzasum(V);
extern LVAL xblasdznrm2(V);
extern LVAL xblaszaxpy(V);
extern LVAL xblaszcopy(V);
extern LVAL xlbaszdotc(V);
extern LVAL xlbaszdotu(V);
extern LVAL xlbaszdrot(V);
extern LVAL xlbaszdscal(V);
extern LVAL xlbaszrotg(V);
extern LVAL xlbaszscal(V);
extern LVAL xlbaszswap(V);
extern LVAL xlblasdgemv(V);
extern LVAL xlblasdtrmv(V);
extern LVAL xlblasdger(V);
extern LVAL xlblasdtrsv(V);
extern LVAL xlblaszgemv(V);
extern LVAL xlblasztrmv(V);
extern LVAL xlblaszgerc(V);
extern LVAL xlblaszgeru(V);
extern LVAL xlblasztrsv(V);
extern LVAL xlblasdgemm(V);
extern LVAL xlblasdtrsm(V);
extern LVAL xlblaszgemm(V);
extern LVAL xlblasztrsm(V);
extern LVAL xsminmaxrelsize(V);
extern LVAL xsmincholsolve(V);
extern LVAL xsminmodelhess(V);
extern LVAL xsmingradsize(V);
extern LVAL xsminlinesearch(V);
extern LVAL xsminmaxrelsize(V);
extern LVAL xsmincholsolve(V);
extern LVAL xsminmodelhess(V);
extern LVAL xsmingradsize(V);
extern LVAL xsminlinesearch(V);
extern LVAL xssortcmp(V);
extern LVAL xsordercmp(V);
#else
extern LVAL xsystem(V);

#if !(defined(UNIX)||defined(AMIGA)||defined(__SASC__))
extern LVAL xgetkey(V);
#endif

#ifdef GRAPHICS
extern LVAL xmode(V), xcolor(V), xmove(V), xdraw(V),
    xmoverel(V), xdrawrel(V);
extern LVAL xcls(V), xcleol(V), xgotoxy(V);
#endif

#ifdef UNIX
extern LVAL Prim_POPEN(V), Prim_PCLOSE(V);
#endif

#ifdef FILETABLE
extern int getslot _((void));
#endif
#endif /* XLISP_STAT */