code: purgatorio

ref: 354b56d6bfdca067a6f04a39c4ce4bc9c0160861
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);
}