code: purgatorio

ref: 254b07675e1a5348f2a8723f55e6b5b1b18a4721
dir: /utils/format/Plan9.c/

View raw version
#include <lib9.h>

int
initfflag()
{
	return 0;
}

Tm *
getlocaltime()
{
	return localtime(time(0));
}

int
openfloppy(char *dev)
{
	return create(dev, ORDWR, 0666);
}