See atoi() or int mypid; char mypidstr[6]; mypid = getpid(); sprintf(mypidstr, "%d", mypid); /* Output go to string */ puts(mypidstr); -T. Muthu Mohan. ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com