15 lines
173 B
C
15 lines
173 B
C
#include <unistd.h>
|
|
#include <stdio.h>
|
|
|
|
#define printvi(X) printf("%s = %d\n", #X, X);
|
|
|
|
int main(void)
|
|
{
|
|
printvi(getpid());
|
|
|
|
pid_t f = fork();
|
|
if(f != 0)
|
|
getchar();
|
|
}
|
|
|