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

⟦84659819e⟧ TextFile

    Length: 276 (0x114)
    Types: TextFile
    Names: »telldir.c«

Derivation

└─⟦060c9c824⟧ Bits:30007080 DKUUG TeX 2/12/89
    └─⟦this⟧ »./DVIware/laser-setters/umd-dvi/libcompat/telldir.c« 

TextFile

/*
	telldir -- C library extension routine

	last edit:	09-Jul-1983	D A Gwyn
*/

#include	<dir.h>

extern long	lseek();

long
telldir( dirp )
	DIR	*dirp;			/* stream from opendir() */
	{
	return lseek( dirp->dd_fd, 0L, 1 ) - (long)dirp->dd_size
	     + (long)dirp->dd_loc;
	}