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

Method ioctl

source/kernel/kprocess.cpp:1168–1175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1166}
1167
1168U32 KProcess::ioctl(KThread* thread, FD fildes, U32 request) {
1169 KFileDescriptorPtr fd = this->getFileDescriptor(fildes);
1170
1171 if (fd == nullptr) {
1172 return -K_EBADF;
1173 }
1174 return fd->kobject->ioctl(thread, request);
1175}
1176
1177U32 KProcess::umask(U32 umask) {
1178 U32 old = this->umaskValue;

Callers

nothing calls this directly

Calls 1

getFileDescriptorMethod · 0.95

Tested by

no test coverage detected