~ubuntu-branches/ubuntu/vivid/emscripten/vivid

« back to all changes in this revision

Viewing changes to system/include/mntent.h

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-05-02 13:11:51 UTC
  • Revision ID: package-import@ubuntu.com-20130502131151-q8dvteqr1ef2x7xz
Tags: upstream-1.4.1~20130504~adb56cb
ImportĀ upstreamĀ versionĀ 1.4.1~20130504~adb56cb

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
#ifndef _MNTENT_H
 
3
#define _MNTENT_H
 
4
 
 
5
#include <stdio.h>
 
6
 
 
7
struct mntent {
 
8
  char *mnt_fsname;
 
9
  char *mnt_dir;
 
10
  char *mnt_type;
 
11
  char *mnt_opts;
 
12
  int   mnt_freq;
 
13
  int   mnt_passno;
 
14
};
 
15
 
 
16
struct mntent *getmntent(FILE *f);
 
17
FILE *setmntent(const char *filename, const char *type);
 
18
int   addmntent(FILE *f, const struct mntent *m);
 
19
int   endmntent(FILE *f);
 
20
char *hasmntopt(const struct mntent *m, const char *opt);
 
21
 
 
22
#endif
 
23