ubase/ubase.h
sin 9fbe1e6e66 Implement -l support for umount
This operation is not supported on OpenBSD so just
set errno to ENOTSUP.
2013-08-07 10:33:19 +01:00

22 lines
386 B
C

/* See LICENSE file for copyright and license details. */
/* grabmntinfo.c */
struct mntinfo {
const char *fsname;
const char *mntdir;
};
int grabmntinfo(struct mntinfo **minfo);
/* syslog.c */
int syslog_size(void);
int syslog_read(void *buf, size_t n);
/* umount.c */
enum {
UBASE_MNT_FORCE = 1 << 0,
UBASE_MNT_DETACH = 1 << 1
};
int do_umount(const char *target, int opts);