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

⟦5ecfdc372⟧ TextFile

    Length: 284 (0x11c)
    Types: TextFile
    Names: »getime.c«

Derivation

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

TextFile

#include "uutty.h"
/* 
** Get the current local time, return pointer to the ASCII version.
*/
char *getime()
{
		time(&currtime);		/* 32-bit UNIX timestamp */
		ctimep = ctime(&currtime);	/* Convert to ASCII */
		ctimep[24] = '\0';		/* We don't want the newline */
		return ctimep;
}