Can pid_t be a long?

Florian Weimer fweimer@redhat.com
Thu Oct 8 12:05:00 GMT 2015


Are there any interfaces which would conflict with a pid_t type which is
a long?  I found just one place:

signalfd_siginfo.ssi_pid is an uint32_t.

Are there any others?

To be clear, I'm not wanting to change pid_t for an existing
architecture, I want to discover if there are constraints on future
definitions of pid_t.

Florian



More information about the Libc-help mailing list