116 |
* The following applies to both Asc_OpenModule() and Asc_RequireModule(). |
* The following applies to both Asc_OpenModule() and Asc_RequireModule(). |
117 |
* `name' can either be a full path name to the file (in the native format) |
* `name' can either be a full path name to the file (in the native format) |
118 |
* or a string that will be appended to each of the paths listed in the |
* or a string that will be appended to each of the paths listed in the |
119 |
* PATHENVIRONMENTVAR to try and find the file.<br><br> |
* ASC_ENV_LIBRARY to try and find the file.<br><br> |
120 |
* |
* |
121 |
* Past versions (pre July-97) of these functions used to append known |
* Past versions (pre July-97) of these functions used to append known |
122 |
* extensions to `name' to try and find the file. That behavior is no |
* extensions to `name' to try and find the file. That behavior is no |
145 |
* Asc_ModuleCreateAlias() for details on aliases.<br><br> |
* Asc_ModuleCreateAlias() for details on aliases.<br><br> |
146 |
* |
* |
147 |
* If attempting to access `name' directly fails, and searching over |
* If attempting to access `name' directly fails, and searching over |
148 |
* PATHENVIRONMENTVAR produces no valid filenames, `status' is set to |
* ASC_ENV_LIBRARY produces no valid filenames, `status' is set to |
149 |
* -1 and NULL is returned. If a matching filename is found but the |
* -1 and NULL is returned. If a matching filename is found but the |
150 |
* fopen() call fails, `status' is set to -2 and NULL is returned. |
* fopen() call fails, `status' is set to -2 and NULL is returned. |
151 |
* Note that fopen() is only attempted one time; once we have a name |
* Note that fopen() is only attempted one time; once we have a name |