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

Method Flush

Kernel/src/characterbuffer.cpp:82–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82void CharacterBuffer::Flush(){
83 acquireLock(&(this->lock));
84
85 bufferPos = 0;
86 lines = 0;
87
88 releaseLock(&(this->lock));
89}

Callers 2

IoctlMethod · 0.80
PTYMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected