nfsmount.h
来自「klibc精简化的c程序库」· C头文件 代码 · 共 36 行
H
36 行
#ifndef NFSMOUNT_NFSMOUNT_H#define NFSMOUNT_NFSMOUNT_H#include <linux/nfs_mount.h>extern int nfs_port;extern int nfsmount_main(int argc, char *argv[]);int nfs_mount(const char *rem_name, const char *hostname, uint32_t server, const char *rem_path, const char *path, struct nfs_mount_data *data);enum nfs_proto { v2 = 2, v3,};/* masked with NFS_MOUNT_FLAGMASK before mount() call */#define NFS_MOUNT_KLIBC_RONLY 0x00010000U/* * Note for gcc 3.2.2: * * If you're turning on debugging, make sure you get rid of -Os from * the gcc command line, or else ipconfig will fail to link. */#undef NFS_DEBUG#undef DEBUG#ifdef NFS_DEBUG#define DEBUG(x) printf x#else#define DEBUG(x) do { } while(0)#endif#endif /* NFSMOUNT_NFSMOUNT_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?