code: 9ferno

ref: 44ce0097b612a1fefd754065bdf8d9d2e5ef60c8
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);
}