view src/s/openbsd.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 db6bbbe07da8
children cf068b0ef3c5 d7ddb3e565de
line wrap: on
line source

/* s/ file for openbsd systems.  */

/* Get most of the stuff from bsd4.3 */
#include "bsd4-3.h"

/* Get the rest of the stuff from that less-POSIX-conformant system */
#include "netbsd.h"

/*  David Mazieres <dm@reeducation-labor.lcs.mit.edu> says this
    is necessary.  Otherwise Emacs dumps core when run -nw.  */
#undef LIBS_TERMCAP