⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 devpts_i.h

📁 《嵌入式系统设计与实例开发实验教材二源码》Linux内核移植与编译实验
💻 H
字号:
/* -*- linux-c -*- --------------------------------------------------------- * * * linux/fs/devpts/devpts_i.h * *  Copyright 1998 H. Peter Anvin -- All Rights Reserved * * This file is part of the Linux kernel and is made available under * the terms of the GNU General Public License, version 2, or at your * option, any later version, incorporated herein by reference. * * ------------------------------------------------------------------------- */#include <linux/fs.h>#include <linux/tty.h>#include <linux/types.h>#define BUILDING_DEVPTS 1#include <linux/devpts_fs.h>struct devpts_sb_info {	u32 magic;	int setuid;	int setgid;	uid_t   uid;	gid_t   gid;	umode_t mode;	unsigned int max_ptys;	struct inode **inodes;};#define DEVPTS_SUPER_MAGIC 0x1cd1#define DEVPTS_SBI_MAGIC   0x01da1d02extern inline struct devpts_sb_info *SBI(struct super_block *sb){	return (struct devpts_sb_info *)(sb->u.generic_sbp);}extern struct inode_operations devpts_root_inode_operations;extern struct file_operations devpts_root_operations;

⌨️ 快捷键说明

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