w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

webpng.c File Reference
#include <stdarg.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "gd.h"
Include dependency graph for webpng.c:

Go to the source code of this file.

Macros

#define KEEP_TRANS   (-100)
 

Functions

static void usage (const char *msg)
 
static void err (const char *fmt,...)
 
int main (int argc, char **argv)
 

Variables

static const char argv0 [] = "webpng"
 

Macro Definition Documentation

◆ KEEP_TRANS

#define KEEP_TRANS   (-100)

Definition at line 23 of file webpng.c.

Function Documentation

◆ err()

static void err ( const char *  fmt,
  ... 
)
static

Definition at line 45 of file webpng.c.

References ap, argv0, e, errno, exit(), fmt, fprintf, fputs, strerror(), va_end, and va_start.

Referenced by main().

◆ main()

◆ usage()

static void usage ( const char *  msg)
static

Definition at line 27 of file webpng.c.

References argv0, exit(), fprintf, NULL, and fc-lang::stdout.

Referenced by main().

Variable Documentation

◆ argv0

const char argv0[] = "webpng"
static

Definition at line 25 of file webpng.c.

Referenced by err(), and usage().