diff options
author | jlemon <jlemon@FreeBSD.org> | 2000-04-29 20:47:10 +0000 |
---|---|---|
committer | jlemon <jlemon@FreeBSD.org> | 2000-04-29 20:47:10 +0000 |
commit | 9f5d586c97f0c69480f51fa40d06e6720f36dd6d (patch) | |
tree | 2a80882b8e07436637e0729c87a7192a50231dbd /lib/libstand/nullfs.c | |
parent | 0340a88f8a7d13623dc70269b23cf87bc47decff (diff) | |
download | FreeBSD-src-9f5d586c97f0c69480f51fa40d06e6720f36dd6d.zip FreeBSD-src-9f5d586c97f0c69480f51fa40d06e6720f36dd6d.tar.gz |
Add a readdir function to the loader fsops vector, and implement the
functionality for some of the filesystesms.
Diffstat (limited to 'lib/libstand/nullfs.c')
-rw-r--r-- | lib/libstand/nullfs.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libstand/nullfs.c b/lib/libstand/nullfs.c index 96e69d2..0f77bd4 100644 --- a/lib/libstand/nullfs.c +++ b/lib/libstand/nullfs.c @@ -104,3 +104,9 @@ int null_stat (struct open_file *f, struct stat *sb) errno = EIO; return -1; } + +int null_readdir(struct open_file *f, struct dirent *d) +{ + errno = EIO; + return -1; +} |