[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Max PID



Thanks for the Reply .

I just want store the PID of some process to one of the variable. The
pid_t type will solve the perpose.

Regards,
A.Johnson

On Sat, 16 Nov 2002, Cameron Simpson wrote:


!| 	Can somebody tell me what is the maximum value PID can take?
!
!Well it's defined as an int on the system in front of me, but historically
!it's been a signed 16 bit value, so a valid pid ranged from 0 to 32767.
!
!Generally you should just use pid_t to store it, or are you sizing some
!flat array somewhere?





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]