#include #include #include void main() { FILE *fp; fp = fopen( "file.nam", "r" ); if( fp == NULL ) { printf( "Unable to open file: %s\n", strerror( errno ) ); } }