aboutsummaryrefslogtreecommitdiff
path: root/musl/mntent.h
diff options
context:
space:
mode:
authorpk33 <pk33@email.com>2024-11-03 03:46:13 +0100
committerpk33 <pk33@email.com>2024-11-03 03:46:13 +0100
commit69058973a9f5073184b9f0b98dbcbbd63da40514 (patch)
tree67d9dcda3c8a67f1b22a0752a25839a2266327e7 /musl/mntent.h
parent0f23d50c8291b23799e55c8653c15f16c0d752d0 (diff)
downloadengine33-69058973a9f5073184b9f0b98dbcbbd63da40514.tar.gz
ignore
Diffstat (limited to 'musl/mntent.h')
-rw-r--r--musl/mntent.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/musl/mntent.h b/musl/mntent.h
deleted file mode 100644
index 3492a1d..0000000
--- a/musl/mntent.h
+++ /dev/null
@@ -1,43 +0,0 @@
-#ifndef _MNTENT_H
-#define _MNTENT_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define __NEED_FILE
-#include <bits/alltypes.h>
-
-#define MOUNTED "/etc/mtab"
-
-#define MNTTYPE_IGNORE "ignore"
-#define MNTTYPE_NFS "nfs"
-#define MNTTYPE_SWAP "swap"
-#define MNTOPT_DEFAULTS "defaults"
-#define MNTOPT_RO "ro"
-#define MNTOPT_RW "rw"
-#define MNTOPT_SUID "suid"
-#define MNTOPT_NOSUID "nosuid"
-#define MNTOPT_NOAUTO "noauto"
-
-struct mntent {
- char *mnt_fsname;
- char *mnt_dir;
- char *mnt_type;
- char *mnt_opts;
- int mnt_freq;
- int mnt_passno;
-};
-
-FILE *setmntent(const char *, const char *);
-int endmntent(FILE *);
-struct mntent *getmntent(FILE *);
-struct mntent *getmntent_r(FILE *, struct mntent *, char *, int);
-int addmntent(FILE *, const struct mntent *);
-char *hasmntopt(const struct mntent *, const char *);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif