Mercurial > emacs
view src/s/esix5r4.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 | c1ddce9c1e2c |
children | 695cf19ef79e |
line wrap: on
line source
/* Definitions for ESIX System V 4.0.4, a variant of V.4 for the 386. */ /* Redone by zircon!joe@uunet.uu.net (Joe Kelsey). */ #include "usg5-4.h" #define SYSTEM_MALLOC 1 #if defined (HAVE_XFREE386) # undef LIB_STANDARD # define LIB_STANDARD -lc #else # define LIB_X11_LIB -lsocket -lc -lX11 # undef LIB_STANDARD # ifdef ORDINARY_LINK # define LIB_STANDARD -lnsl -lns -lelf /usr/ucblib/libucb.a # else # define LIB_STANDARD -lnsl -lns -lelf /usr/ucblib/libucb.a /usr/ccs/lib/crtn.o # endif /* Resolve BSD string functions in X Window library from libucb.a. */ # define BSTRING /* zircon!joe says this makes X windows work. */ # define BROKEN_FIONREAD #endif