MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / PTYDevice

Method PTYDevice

Kernel/src/tty/pty.cpp:49–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49PTYDevice::PTYDevice(const char* name) : Device(name, TypePseudoterminalDevice){
50 dirent.node = this;
51}
52
53ssize_t PTYDevice::Read(size_t offset, size_t size, uint8_t *buffer){
54 assert(pty);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected