| 1 |
#include <stdio.h> |
| 2 |
#include <errno.h> |
| 3 |
#include <string.h> |
| 4 |
|
| 5 |
|
| 6 |
int |
| 7 |
main () |
| 8 |
{ |
| 9 |
FILE *infile; |
| 10 |
char *input_file = "No_such_file"; |
| 11 |
infile = fopen (input_file, "r"); |
| 12 |
if (infile == NULL) |
| 13 |
printf ("tlserrno: %s: %s\n", strerror(errno), input_file); |
| 14 |
} |