10 FILE* f = fopen("bogus2", "r");
11 printf("f = %ld, errno = %d (%s)\n", (long)f, errno, strerror(errno));
15 void* thr3 ( void* v )
17 FILE* f = fopen("bogus3", "r");
18 printf("f = %ld, errno = %d (%s)\n", (long)f, errno, strerror(errno));
27 pthread_create(&tid2, NULL, &thr2, NULL);
28 pthread_create(&tid3, NULL, &thr3, NULL);
29 f = fopen("bogus", "r");
30 printf("f = %ld, errno = %d (%s)\n", (long)f, errno, strerror(errno));
31 pthread_join(tid2, NULL);
32 pthread_join(tid3, NULL);