|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 306 (0x132) Types: TextFile Names: »getw.c«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987 └─⟦this⟧ »EUUGD18/General/Dating/getw.c«
# 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 ; }