|
ginnOS
The reference: libc, the libraries and the kernel
|
#include "common/stdint.h"Go to the source code of this file.
Macros | |
| #define | PTY_MAX 16 |
Functions | |
| void | pty_init (void) |
| register /dev/ptmx. | |
| struct device * | pty_slave_device (uint32_t index) |
| the device of /dev/pts/N (devfs uses it to open the slave side). | |
| bool | pty_next (uint32_t *index) |
| the lowest pair number at or above *index that exists (devfs lists them). | |
| #define PTY_MAX 16 |
| void pty_init | ( | void | ) |
register /dev/ptmx.
call once at boot, after the device registry.
the device of /dev/pts/N (devfs uses it to open the slave side).