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

Function GetNextPTY

Kernel/src/tty/pty.cpp:27–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25char nextPTY = '0';
26
27char GetNextPTY(){
28 nextPTY++;
29 if(nextPTY < 'a' && nextPTY > '9') nextPTY = 'a';
30 else if (nextPTY < 'A' && nextPTY > 'z') nextPTY = 'A';
31
32 return nextPTY;
33}
34
35List<PTY*>* ptys = NULL;
36

Callers 1

GrantPTYFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected