summaryrefslogtreecommitdiffstats
path: root/include/fstab.h
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2003-04-07 12:55:00 +0000
committermdodd <mdodd@FreeBSD.org>2003-04-07 12:55:00 +0000
commit7c43f96140c9e0208ae1f650102cab1a120e7295 (patch)
treef0f3737571d3ceb5573b076eebbe87546958dfd0 /include/fstab.h
parent86b0c078f70abab5140a11d0a13440d83cdce13d (diff)
downloadFreeBSD-src-7c43f96140c9e0208ae1f650102cab1a120e7295.zip
FreeBSD-src-7c43f96140c9e0208ae1f650102cab1a120e7295.tar.gz
- Add setfstab() and getfstab().
- Use the environment variable 'PATH_FSTAB' if set rather than the hardcoded '/etc/fstab' (fstab.h:_PATH_FSTAB)
Diffstat (limited to 'include/fstab.h')
-rw-r--r--include/fstab.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/fstab.h b/include/fstab.h
index a269d42..cae9172 100644
--- a/include/fstab.h
+++ b/include/fstab.h
@@ -75,6 +75,8 @@ struct fstab *getfsspec(const char *);
struct fstab *getfsfile(const char *);
int setfsent(void);
void endfsent(void);
+void setfstab(const char *);
+const char *getfstab(void);
__END_DECLS
#endif /* !_FSTAB_H_ */
OpenPOWER on IntegriCloud