#include #include void display_help( FILE *fp ) { printf( "display_help T.B.I.\n" ); } void main() { FILE *help_file; char full_path[ _MAX_PATH ]; _searchenv( "watcomc.hlp", "PATH", full_path ); if( full_path[0] == '\0' ) { printf( "Unable to find help file\n" ); } else { help_file = fopen( full_path, "r" ); display_help( help_file ); fclose( help_file ); } }