version 1.11.2.16, 2011/09/19 23:09:16
|
version 1.11.2.17, 2011/09/19 23:30:50
|
Line 794 int ioSetOwnerTTY(const char *ttyname, uid_t UID, gid_
|
Line 794 int ioSetOwnerTTY(const char *ttyname, uid_t UID, gid_
|
* return: -1 error or 0 ok |
* return: -1 error or 0 ok |
*/ |
*/ |
int ioSetSidTTY(int *ttyfd, const char *ttyname); |
int ioSetSidTTY(int *ttyfd, const char *ttyname); |
|
/* |
|
* ioSetRAWMode() Enter into RAW mode |
|
* @fd = tty fd |
|
* @otio = saved old termios for later restore if !=NULL |
|
* return: -1 error or 0 ok |
|
*/ |
|
inline int ioSetRAWMode(int fd, struct termios *otio); |
|
/* |
|
* ioRestoreMode() Restore termios to tty fd |
|
* @fd = tty fd |
|
* @tio = termios structure for restore |
|
* return: -1 error or 0 ok |
|
*/ |
|
inline int ioRestoreMode(int fd, struct termios tio); |
|
|
|
|
#endif |
#endif |