KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Pseudo-terminal virtual file system. More...
Go to the source code of this file.
Functions | |
int | fs_pty_create (char *buffer, int maxbuflen, file_t *master_out, file_t *slave_out) |
Create a new pseudo-terminal. | |
Pseudo-terminal virtual file system.
This file system implements a pseudo-terminal like concept (similar to /dev/pty in Linux). A call to fs_pty_create() will create two file entries in the VFS, /pty/maXX and /pty/slXX (XX being some hexadecimal number). From there, anybody can open up either end and send data to the other side. Think of it as a simple message passing interface.
This file system mounts on /pty.