aboutsummaryrefslogtreecommitdiff
path: root/src/lib9/nulldir.c
blob: 302b996ce03572a12ada85cbdc2d0d3cf495b5dc (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 = d->ext = "";
}