code: 9ferno

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