aboutsummaryrefslogtreecommitdiff
path: root/src/lib9/nulldir.c
blob: 612725d812dc22ff5ea240c46f6cc8bb145045c9 (plain)
1
2
3
4
5
6
7
8
9
#include <u.h>
#include <libc.h>

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