I think you're after getpid() Last time I checked it was in unistd.h
--- On Wed, 27/5/09, Christian Jutras <christian.jut...@gmail.com> wrote: > From: Christian Jutras <christian.jut...@gmail.com> > Subject: getprocid C call > To: debian-user@lists.debian.org > Date: Wednesday, 27 May, 2009, 7:36 PM > > I have tried to find the getprocid() > in Debian and could not find it, nor any equivalent. The > getproid() function call is a standard > ANSI C, is there any reason for Debian (and all other Linux > I looked in) not to implement this function. The Debian > I'm using is based on Linux 2.6.22.18. > -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org