Skip to content
Snippets Groups Projects
  • Josh Triplett's avatar
    e709b3f7
    Define P_PIDFD, used with waitid · e709b3f7
    Josh Triplett authored
    Linux defines a waitid type `P_PIDFD`, for use with process file
    descriptors (`pidfd`). Add that constant.
    
    In libc-test, add linux/wait.h to the Linux-specific and
    Android-specific headers, to get the definition. Exclude it on Android
    and musl for now, though, as the versions in CI don't have it yet.
    e709b3f7
    History
    Define P_PIDFD, used with waitid
    Josh Triplett authored
    Linux defines a waitid type `P_PIDFD`, for use with process file
    descriptors (`pidfd`). Add that constant.
    
    In libc-test, add linux/wait.h to the Linux-specific and
    Android-specific headers, to get the definition. Exclude it on Android
    and musl for now, though, as the versions in CI don't have it yet.