?? pty.h
字號(hào):
/* * /dev/ptyXX (A first version for pseudo-terminals) * * Author: Fernando RUIZ CASAS (fernando.ruiz@ctv.es) * May 2001 * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * $Id: pty.h,v 1.1 2001/08/09 22:06:51 joel Exp $ */#ifndef __PTY_H#define __PTY_H#ifdef __cplusplusextern "C" {#endif #include <rtems.h> #ifndef MAX_PTYS #define MAX_PTYS 16#endifchar * get_pty(int socket);rtems_device_driver pty_initialize( rtems_device_major_number major, rtems_device_minor_number minor, void *arg);rtems_device_driver pty_open( rtems_device_major_number major, rtems_device_minor_number minor, void * arg);rtems_device_driver pty_close( rtems_device_major_number major, rtems_device_minor_number minor, void * arg);rtems_device_driver pty_read( rtems_device_major_number major, rtems_device_minor_number minor, void * arg);rtems_device_driver pty_write( rtems_device_major_number major, rtems_device_minor_number minor, void * arg);rtems_device_driver pty_control( rtems_device_major_number major, rtems_device_minor_number minor, void * arg);#define PTY_DRIVER_TABLE_ENTRY \ { pty_initialize , pty_open , pty_close , \ pty_read , pty_write , pty_control }#ifdef __cplusplus}#endif #endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -