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 - metrics - download
Index: M T

⟦26fbabf26⟧ TextFile

    Length: 608 (0x260)
    Types: TextFile
    Names: »MakBlk.c«

Derivation

└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
    └─⟦this⟧ »EUUGD18/General/Adventure/src/kio/MakBlk.c« 

TextFile

/*
**		    Copyright (c) 1985	Ken Wellsch
**
**     Permission is hereby granted to all users to possess, use, copy,
**     distribute, and modify the programs and files in this package
**     provided it is not for direct commercial benefit and secondly,
**     that this notice and all modification information be kept and
**     maintained in the package.
**
*/

#include "kio.h"

int MakBlk (b)
  int b ;
{
	register int i ;

	if ( Modified )
		return (ERROR) ;

	for ( i = 0 ; i < MAXENTRIES ; i++ )
	{
		Iblk.i_loc[i] = 0 ;
		Iblk.i_siz[i] = 0 ;
	}

	Sblk[b] = IndLoc++ ;
	CurBlk = b ;
	return (b) ;
}