mirror of
https://github.com/troglobit/finit.git
synced 2026-10-24 11:54:36 +00:00
Export ismnt() and fismnt() helper functions, for modprobe plugin
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
37d92e87bc
commit
3f5ff0d339
3 files changed
+32
-27
No files matched your search
@@ -25,6 +25,7 @@
|
||||
#ifndef FINIT_HELPERS_H_
|
||||
#define FINIT_HELPERS_H_
|
||||
|
||||
#include <mntent.h>
|
||||
#include <stdarg.h>
|
||||
#include <sys/resource.h>
|
||||
#include <sys/types.h>
|
||||
@@ -83,6 +84,9 @@ static inline void create(char *path, mode_t mode, uid_t uid, gid_t gid)
|
||||
_w("Failed creating %s properly.", path);
|
||||
}
|
||||
|
||||
int ismnt (char *file, char *dir);
|
||||
int fismnt (char *dir);
|
||||
|
||||
#endif /* FINIT_HELPERS_H_ */
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user