]> Git Repo - binutils.git/blob - sim/testsuite/bfin/getpid.c
Automatic date update in version.in
[binutils.git] / sim / testsuite / bfin / getpid.c
1 /* Basic getpid tests.
2 # mach: bfin
3 # cc: -msim
4 */
5
6 #include <stdio.h>
7 #include <unistd.h>
8
9 int main(int argc, char *argv[])
10 {
11   pid_t pid = getpid();
12   if (pid < 0) {
13     perror("getpid failed");
14     return 1;
15   }
16   puts("pass");
17   return 0;
18 }
This page took 0.025111 seconds and 4 git commands to generate.