Sign in
plan9port
/
plan9
/
c499ab911db8afefa197988c796331697c06219b
/
.
/
src
/
lib9
/
nulldir.c
blob: 302b996ce03572a12ada85cbdc2d0d3cf495b5dc [
file
] [
log
] [
blame
]
#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
=
""
;
}