Re: PID Length

From: Support (support@XIATECS.NET)
Date: Wed Jan 21 2004 - 10:18:18 EST


Look at the /usr/include/sys/limits.h file for the exact value.

---snip--- (taken from a AIX 4.3.3 system)
#define INT_MAX (2147483647)
#define PID_MAX INT_MAX /* max value for a process ID,
---snip---

Thanks,
_________________________________

Sukhjeet Singh
Senior Technology Consultant
IBM Certified Specialist - AIX
Xiatecs Systems Consultants Inc.
Tel: +1.514.668.0838
www.xiatecs.net - ssingh@xiatecs.net
_________________________________

-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
Basim Chafik
Sent: Wednesday, January 21, 2004 9:10 AM
To: aix-l@Princeton.EDU
Subject: PID Length

Hi AIXer,

Any body have any idea about what is the max digits a PID can get. A
programmer asked me this in order to allocate a size for t PID in the
application. The most I have seen is 7. Do you have any clue ?

Thanks.
Basim

************************************************************************
****

This e-mail may be privileged and/or confidential, and the sender does
not
waive any related rights and obligations. Any distribution, use or
copying
of this e-mail or the information it contains by other than an intended
recipient is unauthorized. If you received this e-mail in error, please
advise me (by return e-mail or otherwise) immediately.

Ce courriel est confidentiel et protégé. L'expéditeur ne renonce pas aux
droits et obligations qui s'y rapportent. Toute diffusion, utilisation
ou
copie de ce message ou des renseignements qu'il contient par une
personne
autre que le (les) destinataire(s) désigné(s) est interdite. Si vous
recevez
ce courriel par erreur, veuillez m'en aviser immédiatement, par retour
de
courriel ou par un autre moyen.



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:31 EDT