annotate src/s/ultrix4-3.h @ 28747:6f90293e6ccb

(slurp_file): New function. (xbm_image_p): Handle case of in-memory XBM files. (xbm_scan): Rewritten to work on memory buffers instead of files. (xbm_read_bitmap_data): Renamed from xbm_read_bitmap_file_data. Work on memory buffers instead of files. If DATA is null test if buffer looks like an in-memory XBM file. (xbm_load_image): Renamed from xbm_load_image_file. Work on memory buffers instead of files. (xbm_file_p): New function. (xbm_load): Accept :data DATA where DATA is an in-memory XBM file.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 27 Apr 2000 19:11:04 +0000
parents 06cce6ea9dd0
children 695cf19ef79e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10151
cb2401f4c61f Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 #include "bsd4-3.h"
cb2401f4c61f Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2
cb2401f4c61f Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3 #define NEED_UNISTD_H
cb2401f4c61f Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4 #define HAVE_TERMIOS
cb2401f4c61f Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5 #define PREFER_VSUSP
cb2401f4c61f Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6
cb2401f4c61f Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
7 /* Must set the line discipline to this, to make termio work. */
cb2401f4c61f Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8 #define SET_LINE_DISCIPLINE TERMIODISC
22828
06cce6ea9dd0 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 10151
diff changeset
9
06cce6ea9dd0 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 10151
diff changeset
10 #ifndef NOT_C_CODE
06cce6ea9dd0 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 10151
diff changeset
11 /* The address of this is used, but Ultrix header files don't declare it. */
06cce6ea9dd0 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 10151
diff changeset
12 extern double rint ();
06cce6ea9dd0 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 10151
diff changeset
13 #endif