Sign in
plan9port
/
plan9
/
294f22a4705f221b9f5cf0d8df0dc7cf7626b886
/
.
/
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
=
""
;
}