| 759 | } |
| 760 | |
| 761 | U32 KUnixSocketObject::writePipeClosed(KThread* thread, bool noSignal) { |
| 762 | if (noSignal || thread->process->sigActions[K_SIGPIPE].handlerAndSigAction == K_SIG_IGN || !thread->readyForSignal(K_SIGPIPE)) { |
| 763 | return -K_EPIPE; |
| 764 | } |
| 765 | thread->runSignal(K_SIGPIPE, 0, 0); |
| 766 | return -K_CONTINUE; |
| 767 | } |
| 768 | |
| 769 | U32 KUnixSocketObject::sendmsg(KThread* thread, const KFileDescriptorPtr& fd, U32 address, U32 flags) { |
| 770 | MsgHdr hdr = {}; |
nothing calls this directly
no test coverage detected