source: EcnlProtoTool/trunk/musl-1.1.18/include/mntent.h@ 331

Last change on this file since 331 was 331, checked in by coas-nagasima, 6 years ago

prototoolに関連するプロジェクトをnewlibからmuslを使うよう変更・更新
ntshellをnewlibの下位の実装から、muslのsyscallの実装に変更・更新
以下のOSSをアップデート
・mruby-1.3.0
・musl-1.1.18
・onigmo-6.1.3
・tcc-0.9.27
以下のOSSを追加
・openssl-1.1.0e
・curl-7.57.0
・zlib-1.2.11
以下のmrbgemsを追加
・iij/mruby-digest
・iij/mruby-env
・iij/mruby-errno
・iij/mruby-iijson
・iij/mruby-ipaddr
・iij/mruby-mock
・iij/mruby-require
・iij/mruby-tls-openssl

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-chdr;charset=UTF-8
File size: 837 bytes
Line 
1#ifndef _MNTENT_H
2#define _MNTENT_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8#define __NEED_FILE
9#include <bits/alltypes.h>
10
11#define MOUNTED "/etc/mtab"
12
13#define MNTTYPE_IGNORE "ignore"
14#define MNTTYPE_NFS "nfs"
15#define MNTTYPE_SWAP "swap"
16#define MNTOPT_DEFAULTS "defaults"
17#define MNTOPT_RO "ro"
18#define MNTOPT_RW "rw"
19#define MNTOPT_SUID "suid"
20#define MNTOPT_NOSUID "nosuid"
21#define MNTOPT_NOAUTO "noauto"
22
23struct mntent {
24 char *mnt_fsname;
25 char *mnt_dir;
26 char *mnt_type;
27 char *mnt_opts;
28 int mnt_freq;
29 int mnt_passno;
30};
31
32FILE *setmntent(const char *, const char *);
33int endmntent(FILE *);
34struct mntent *getmntent(FILE *);
35struct mntent *getmntent_r(FILE *, struct mntent *, char *, int);
36int addmntent(FILE *, const struct mntent *);
37char *hasmntopt(const struct mntent *, const char *);
38
39#ifdef __cplusplus
40}
41#endif
42
43#endif
Note: See TracBrowser for help on using the repository browser.