I am porting an application from Tru64 to Linux and it uses PID_MAX defined in limits.h.
Linux doesn't have that define.
How do I find PID_MAX in c without reading /proc/sys/kernel/pid_max
by hand?
Is there a library?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…