DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T o

⟦99531004a⟧ TextFile

    Length: 769 (0x301)
    Types: TextFile
    Names: »opts.h«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦this⟧ »EUUGD11/euug-87hel/sec1/slice/opts.h« 

TextFile


#define FALSE 0
#define TRUE 1
typedef int bool;

#define EXIT_SYNTAX 1	/* syntax error parsing commandline options */
#define EXIT_SEMANT 2	/* options are correct but meaningless */
#define EXIT_RUNERR 3	/* error opening a file, for example */
#define EXIT_INTERN 4	/* internal error -- bug!! */

#define nextstr(s,count,array,failure)	\
	{if (((count)<2) && !((array)[0][1])) {failure;}\
	else {if ((array)[0][1]) { s = &((array)[0][1]); } \
	      else {s = array[1]; --count; array++;}}}

#define DFLTNAME "slice"	/* input filename (for stdin) */
#define BUFLEN BUFSIZ	/* the maximum length of an input line (incl. "\n\0") */
#define MAXFILENAMELEN BUFSIZ	/* longer than the longest possible file name */
#define DFLTOUTNAME	"%s:%03.d"	/* o/p file name format */