aboutsummaryrefslogtreecommitdiffstats
path: root/CWRU/misc/pid.c
diff options
context:
space:
mode:
Diffstat (limited to 'CWRU/misc/pid.c')
-rw-r--r--CWRU/misc/pid.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/CWRU/misc/pid.c b/CWRU/misc/pid.c
new file mode 100644
index 0000000..458fde4
--- /dev/null
+++ b/CWRU/misc/pid.c
@@ -0,0 +1,7 @@
+#include <stdio.h>
+
+main()
+{
+ fprintf(stderr, "%d\n", getpid());
+ exit(0);
+}