Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/src/linux-headers-5.15.0-152/include/linux/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* -*- linux-c -*- --------------------------------------------------------- * * * linux/include/linux/devpts_fs.h * * Copyright 1998-2004 H. Peter Anvin -- All Rights Reserved * * ------------------------------------------------------------------------- */ #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 */