Server IP : 184.154.167.98 / Your IP : 3.129.247.57 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/src/kernels/4.18.0-553.30.1.lve.el8.x86_64/include/linux/ |
Upload File : |
/* -*- linux-c -*- --------------------------------------------------------- * * * linux/include/linux/devpts_fs.h * * Copyright 1998-2004 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. * * ------------------------------------------------------------------------- */ #ifndef _LINUX_DEVPTS_FS_H #define _LINUX_DEVPTS_FS_H #include <linux/errno.h> #ifdef CONFIG_UNIX98_PTYS struct pts_fs_info; struct vfsmount *devpts_mntget(struct file *, struct pts_fs_info *); struct pts_fs_info *devpts_acquire(struct file *); void devpts_release(struct pts_fs_info *); int devpts_new_index(struct pts_fs_info *); void devpts_kill_index(struct pts_fs_info *, int); /* mknod in devpts */ struct dentry *devpts_pty_new(struct pts_fs_info *, int, void *); /* get private structure */ void *devpts_get_priv(struct dentry *); /* unlink */ void devpts_pty_kill(struct dentry *); /* in pty.c */ int ptm_open_peer(struct file *master, struct tty_struct *tty, int flags); #else static inline int ptm_open_peer(struct file *master, struct tty_struct *tty, int flags) { return -EIO; } #endif #endif /* _LINUX_DEVPTS_FS_H */