I found this question about what's the maximum PID for Linux and my question is exactly the same for OSX :
OSX doesn't seem to have the /proc/sys/kernel/pid_max
file containing this value on Linux.
Is there an equivalent file or an other way to find out what is the range of PIDs on an OSX system?