Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (8 sloc) 148 Bytes
#include "apue.h"
int
main(void)
{
/* getpid得到进程pid */
printf("hello world from process ID %ld\n", (long)getpid());
exit(0);
}