#endif
extern Bool silent;
extern void usage();
unsigned long Resolve_Color();
Pixmap Bitmap_To_Pixmap();
Window Select_Window();
void out();
void outl();
void blip();
Window Window_With_Name();
void Fatal_Error();
* printf with up to 7 arguments.
*/
/* VARARGS1 */
void
outl(msg, arg0,arg1,arg2,arg3,arg4,arg5,arg6)
char *msg;
char *arg0, *arg1, *arg2, *arg3, *arg4, *arg5, *arg6;
extern int (*_XErrorFunction)();
extern int _XDefaultError();
void usage();
void Error(char *);
void Window_Dump(Window, FILE *);
extern void outl();
int Image_Size(XImage *);
int Get_XColors(XWindowAttributes *, XColor **);
static long parse_long (s)
char *s;
{
* writting.
Window_Dump(window, out)
Window window;
FILE *out;
/*
* Report the syntax for calling xwd.
usage()
fprintf (stderr,
* Error - Fatal xwd error.
Error(string)
char *string; /* Error description string. */
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
main(int argc, char *argv[])
static void get_background_pixmap __P((struct ctrl *, struct render_state *));
static void regist_background_pixmap __P((XImageInfo *, Image *));
#ifdef MNG
void mngload(char *, int, int, int, int);
void mngpreload(struct render_state *, char *, int *, int *);
static void process_anim __P((struct render_state *, struct ctrl *));
static void obj_draw_anim __P((struct render_state *,
u_int, u_int, struct render_object *));
#include "copyright.h"
#if defined(SYSV) || defined(VMS) || 1
#include <signal.h>
#include <errno.h>
#include <sys/types.h>
#ifdef SYSV
#ifdef HAVE_UNISTD_H
#include <unistd.h>
# include <unistd.h>
#if TIME_WITH_SYS_TIME
# include <sys/time.h>
#if HAVE_SYS_SELECT_H
# include <sys/select.h>
#ifdef __APPLE__
/* SUPPRESS 560 */
#ifndef HAVE_USLEEP
extern void usleep __P((u_int));
#ifndef HAVE_STRLCPY
extern size_t strlcpy __P((char *, const char *, size_t));
#ifdef FREETYPE
#define RASTERLIB