home *** CD-ROM | disk | FTP | other *** search
- /* ==( bench/help.c )== */
- /* ----------------------------------------------- */
- /* Pro-C Copyright (C) 1988 - 1990 Vestronix Inc. */
- /* Modification to this source is not supported */
- /* by Vestronix Inc. */
- /* All Rights Reserved */
- /* ----------------------------------------------- */
- /* Written Nig 1-Jan-87 */
- /* Modified Bob 11-Dec-89 See comments below */
- /* ----------------------------------------------- */
- /* %W% (%H% %T%) */
-
- /*
- * Modifications
- *
- * 11-Dec-89 Geo - V2 version
- * 25-Oct-89 Geo - 1.32 Merge
- * 25-Oct-89 Bob - 1.32 Lattice ifdef
- */
-
- # include <stdio.h>
- # include <bench.h>
-
- #ifdef LATTICE
- # define mktemp tmpnam
- #endif
-
- #ifdef ANSI
- extern void setup_help(void);
- #else
- extern void setup_help();
- #endif
-
- char _helpfile_path[60];
-
- /*
- * Scan across executeable
- * - really should look in {path}/help
- */
- int open_help(fname)
- char *fname;
- {
- /*
- * setup pointer to help function
- */
- setup_help();
-
- search_path(fname, _helpfile_path, ".hlp");
-
- return TRUE;
- } /* open_help */
-
- void close_help()
- {
- return;
- } /* close_help */
-