File: mountflags.h

package info (click to toggle)
vuos 0.9.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,616 kB
  • sloc: ansic: 22,155; python: 284; makefile: 28; sh: 4
file content (12 lines) | stat: -rw-r--r-- 435 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef MOUNTFLAGS_H
#define MOUNTFLAGS_H

/* translate all mount flags into options so that modules can parse options only */
/* currently used by hashtable to set up the mount line (a' la /proc/mounts) */

/* opts == NULL: return the length of the char array required
else: translate  mountflags as a comma separated string of options in opts */

size_t mountflags2opts(unsigned long mountflags, char *opts, size_t optslen);

#endif