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

Method signalIO

source/kernel/kprocess.cpp:847–854  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

845}
846
847void KProcess::signalIO(U32 code, S32 band, FD fd) {
848 memset(this->sigActions[K_SIGIO].sigInfo, 0, sizeof(this->sigActions[K_SIGIO].sigInfo));
849 this->sigActions[K_SIGIO].sigInfo[0] = K_SIGIO;
850 this->sigActions[K_SIGIO].sigInfo[2] = code;
851 this->sigActions[K_SIGIO].sigInfo[3] = band;
852 this->sigActions[K_SIGIO].sigInfo[4] = fd;
853 signalProcess(K_SIGIO);
854}
855
856void KProcess::signalCHLD(U32 code, U32 childPid, U32 sendingUID, S32 exitCode) {
857 memset(this->sigActions[K_SIGCHLD].sigInfo, 0, sizeof(this->sigActions[K_SIGCHLD].sigInfo));

Callers 1

postSendEventFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected