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 d

⟦1059489bc⟧ TextFile

    Length: 528 (0x210)
    Types: TextFile
    Names: »defs.h«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦this⟧ »EUUGD11/euug-87hel/sec1/news/misc/search/lib/defs.h« 

TextFile

#include <stdio.h>
#include <ctype.h>
#include <strings.h>

/* Functions returning char *. */

char *malloc();
char *realloc();

char *getenv();

/* Defined in this library. */

char *getmem();
char *strsave();
char *safegets();
char *trim();

/* Convenient shorthands. */

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

typedef int (*funcptr)();

#define EOS '\0'
#define SEP '/'

/* Some System 5 compatibility. */

#ifndef _tolower
#define _tolower(c) ((c) + ('a'-'A'))
#endif

#define strchr index
#define strrchr rindex