- proc_name(pid, prog, 2*MAXCOMLEN);
- prog[2*MAXCOMLEN] = 0;
- np = n + sizeof(n);
- *--np = 0;
- while(pid > 0) {
- *--np = (pid % 10) + '0';
- pid /= 10;
- }
- strlcat(message, np, sizeof(message));
- strlcat(message, STACKOVERFLOW, sizeof(message));