shithub: riscv

ref: 7f224a8f6d343cf0aaf162cc9b9f7d4d62ac78ac
dir: /sys/src/libc/9sys/nulldir.c/

View raw version
#include <u.h>
#include <libc.h>

void
nulldir(Dir *d)
{
	memset(d, ~0, sizeof(Dir));
	d->name = d->uid = d->gid = d->muid = "";
}