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: ┃ C T

⟦9c8126847⟧ TextFile

    Length: 735 (0x2df)
    Types: TextFile
    Names: »CreateObj.c«

Derivation

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

TextFile


/*
 *
 * Description
 *	Allocate and initialize an OFF object description structure.
 *
 * Output
 *	OFFCreateObj returns a pointer to the newly-created and
 *	initialized object structure.
 *
 * Input
 *
 * Diagnostics
 *	Returns NULL if unsuccessful malloc'ing memory for object structure
 *
 * Author
 *	Randi J. Rost
 *	Digital Equipment Corp.
 *	Workstation Systems Engineering
 *	Palo Alto, CA
 *
 * History
 *	17-Nov-86	Created
 *
 */

#include <stdio.h>
#include "off.h"

OFFObjDesc *OFFCreateObj()

    {
    OFFObjDesc	*Obj;

    Obj = (OFFObjDesc *) malloc(sizeof(OFFObjDesc));

    if (Obj == NULL)
	{
	fprintf(stderr, "OFFCreateObj: malloc failed\n");
	return(NULL);
	}

    Obj->FirstProp = NULL;
    return(Obj);
    }