blob: b83ad195e861a6c2d2626fc5904b7d827d2afe32 [file] [edit]
# NOTE: Semantics of sys/mount.h is different on Linux and BSD systems.
header: sys/mount.h
standards:
- linux
macros:
# MS_ macro are defined only on Linux systems. Instead of listing
# them all here, do a shortcut (for now), and only reference a single
# one to ensure the inclusion of sys-mount-macros.h that would dispatch
# to system-specific ones.
- macro_name: MS_RDONLY
macro_header: sys-mount-macros.h
- macro_name: MNT_FORCE
macro_header: sys-mount-macros.h
- macro_name: MNT_DETACH
macro_header: sys-mount-macros.h
- macro_name: MNT_EXPIRE
macro_header: sys-mount-macros.h
- macro_name: UMOUNT_NOFOLLOW
macro_header: sys-mount-macros.h
types: []
enums: []
objects: []
functions:
- name: mount
standards:
- linux
return_type: int
arguments:
- type: const char *
- type: const char *
- type: const char *
- type: unsigned long
- type: const void *
- name: umount
standards:
- linux
return_type: int
arguments:
- type: const char *
- name: umount2
standards:
- linux
return_type: int
arguments:
- type: const char *
- type: int