mount.mh

来自「开放源码的编译器open watcom 1.6.0版的源代码」· MH 代码 · 共 32 行

MH
32
字号
/*
 *  ioctl.h
 *
:include crwat.sp
 */
#ifndef _SYS_MOUNT_H_INCLUDED
#define _SYS_MOUNT_H_INCLUDED
:include readonly.sp
:include cpluspro.sp
:include lnxkpack.sp

#define MS_RDONLY        1 /* mount read-only */
#define MS_NOSUID        2 /* ignore suid and sgid bits */
#define MS_NODEV         4 /* no access to device special files */
#define MS_NOEXEC        8 /* no program execution */
#define MS_SYNCHRONOUS  16 /* writes are synced at once */
#define MS_REMOUNT      32 /* alter flags of a mounted fs */
#define MS_MANDLOCK     64 /* allow mandatory locks */
#define MS_NOATIME    1024 /* do not update access times */
#define MS_NODIRATIME 2048 /* do not update dir access times */
#define MS_BIND       4096 /* bind subtree elsewhere */

_WCRTLINK extern int mount( const char *__specialfile, const char *__dir,
       const char *__filesystemtype, unsigned long __mountflags,
       const void *__data);

_WCRTLINK extern int umount(const char *__dir);

:include poppack.sp
:include cplusepi.sp
#endif /* !_SYS_MOUNT_H_INCLUDED */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?