Skip to content

Replace __pid_t with pid_t

__pid_t is an implementation detail of glibc. Using it makes code dependant on a specific implementation of the C standard library. Using pid_t instead allows the code to be compiled with other POSIX-compliant implementations of the C standard library (e.g. musl).

Merge request reports