|
| void | AuTTYInsert (TTY *tty) |
| | AuTTYInsert – insert a new tty to tty list.
|
| |
| void | AuTTYDelete (TTY *tty) |
| | AuTTYDelete – remove a tty from the tty list.
|
| |
| void | AuTTYWriteSlave (TTY *tty, uint8_t c) |
| | AuTTYWriteSlave – writes a character to to slave tty.
|
| |
| void | AuTTYWriteMaster (TTY *tty, uint8_t c) |
| | AuTTYWriteMaster – writes a character to master tty.
|
| |
| void | AuTTYProcessLine (TTY *tty, uint8_t c) |
| | AuTTYProcessLine – Line Discipline layer.
|
| |
| size_t | AuTTYMasterRead (AuVFSNode *fs, AuVFSNode *file, uint64_t *buffer, uint32_t len) |
| | AuTTYMasterRead – vfs read callback for master tty.
|
| |
| size_t | AuTTYMasterWrite (AuVFSNode *fs, AuVFSNode *file, uint64_t *buffer, uint32_t len) |
| | AuTTYMasterWrite – writing to master goes to slave buffer.
|
| |
| size_t | AuTTYSlaveRead (AuVFSNode *fsys, AuVFSNode *file, uint64_t *buffer, uint32_t len) |
| |
| size_t | AuTTYSlaveWrite (AuVFSNode *fsys, AuVFSNode *file, uint64_t *buffer, uint32_t len) |
| | AuTTYSlaveWrite — writing to slave goes to master buffer.
|
| |
| int | AuTTYSlaveClose (AuVFSNode *fs, AuVFSNode *file) |
| |
| int | AuTTYMasterClose (AuVFSNode *fs, AuVFSNode *file) |
| |
| int | AuTTYIoControl (AuVFSNode *file, int code, void *arg) |
| |
| AuVFSNode * | AuTTYCreateMaster (TTY *tty) |
| | AuTTYCreateMaster – create a master tty end and mount it to device directory.
|
| |
| AuVFSNode * | AuTTYCreateSlave (TTY *tty) |
| | AuTTYCreateSlave – create a slave tty end and mount it to device directory.
|
| |
| int | AuTTYCreate (int *master_fd, int *slave_fd) |
| | AuTTYCreate – create tty syscall for process.
|
| |
| void | AuTTYInitialise () |
| | AuTTYInitialise – initialize the TTY kernel resource.
|
| |
BSD 2-Clause License
Copyright (c) 2022-2025, Manas Kamal Choudhury All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.