|
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: 338 (0x152) Types: TextFile Names: »opendev.c«
└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki └─⟦this⟧ »EUUGD11/euug-87hel/sec8/uutty/opendev.c«
#include "uutty.h" /* ** Close and re-open the port. */ opendev() { D6("opendev()"); if (dev >= 0) close(dev); if (device) { if ((dev = open(device,2)) < 0) { E("FATAL ERROR\n%s Can't open \"%s\"\t[errno=%d]",getime(),device,errno); die(1); } if (debug) P("%s Opened dev=%d=\"%s\".",getime(),dev,device); } return dev; }