Skip to main content

Questions tagged [pidfd]

The tag has no usage guidance.

0 votes
2 answers
70 views

How can I force a call to read(2) to return EINVAL?

Context I'm writing code that emulates one aspect of pidfds on platforms that don't support them (old Linux, other Unix). I'm doing this a) in order to test some pidfd-related code on very old ...
Zac B's user avatar
  • 4,058