.th CGETPID III 5/31/77 .sh NAME cgetpid \*- return character form of process ID .sh SYNOPSIS .bd "cgetpid( sptr )" .bd "char *sptr;" .sh DESCRIPTION The .it cgetpid function appends the current UNIX process number to the string passed by the user. The character value is zero padded on the left to five digits. The passed string is scanned left-to-right for the first .it NUL byte. If the process number were ``123'' and the function called as s = "abc\\0xxxxx"; cgetpid( s ); the value returned would be "abc00123\\0". .s3 This function is kept in the .bd \-lPW library.