Changeset 23 for trunk/src/helpers/dosh.c
- Timestamp:
- Jan 16, 2001, 8:49:10 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/dosh.c
r22 r23 1065 1065 1066 1066 /* 1067 *@@ dosh ReadTextFile:1067 *@@ doshLoadTextFile: 1068 1068 * reads a text file from disk, allocates memory 1069 1069 * via malloc() and sets a pointer to this … … 1074 1074 * Otherwise, you should free() the buffer when 1075 1075 * no longer needed. 1076 */ 1077 1078 APIRET doshReadTextFile(PSZ pszFile, // in: file name to read 1079 PSZ* ppszContent) // out: newly allocated buffer with file's content 1076 * 1077 *@@changed V0.9.7 (2001-01-15) [umoeller]: renamed from doshReadTextFile 1078 */ 1079 1080 APIRET doshLoadTextFile(const char *pcszFile, // in: file name to read 1081 PSZ* ppszContent) // out: newly allocated buffer with file's content 1080 1082 { 1081 1083 ULONG ulSize, … … 1085 1087 PSZ pszContent = NULL; 1086 1088 1087 APIRET arc = DosOpen( pszFile,1089 APIRET arc = DosOpen((PSZ)pcszFile, 1088 1090 &hFile, 1089 1091 &ulAction, // action taken
Note:
See TracChangeset
for help on using the changeset viewer.