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

⟦99015bb2c⟧ TextFile

    Length: 306 (0x132)
    Types: TextFile
    Names: »getw.c«

Derivation

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

TextFile

# include <stdio.h>
FILE	*fopen () ;
FILE	*name ;

getwh(who) 
char	*who ; {
char  *getlogin();
   if ((name = fopen ("/tmp/.name", "w")) == NULL ) {
	fprintf (stderr, "cannot get your name\n") ;
	fflush (stderr) ;
	exit (3) ;
}

   fprintf (name, "%s", getlogin ()) ;
   fclose (name) ;
   return ;
   }