MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / getFileDescriptor

Method getFileDescriptor

source/kernel/kprocess.cpp:630–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

628}
629
630KFileDescriptorPtr KProcess::getFileDescriptor(FD handle) {
631 BOXEDWINE_CRITICAL_SECTION_WITH_MUTEX(fdsMutex);
632 return this->fds[handle];
633}
634
635KFileDescriptor* KProcess::getFileDescriptor_nolock(FD handle) {
636 return this->fds[handle].get();

Callers 15

initStdioMethod · 0.95
dupMethod · 0.95
lseekMethod · 0.95
closeMethod · 0.95
readMethod · 0.95
writeMethod · 0.95
ioctlMethod · 0.95
dup2Method · 0.95
ftruncate64Method · 0.95
fstatfs64Method · 0.95
fchdirMethod · 0.95
llseekMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected