Ignore:
Timestamp:
Jan 16, 2001, 8:49:10 PM (25 years ago)
Author:
umoeller
Message:

Fixes for V0.9.7.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/dosh.c

    r22 r23  
    10651065
    10661066/*
    1067  *@@ doshReadTextFile:
     1067 *@@ doshLoadTextFile:
    10681068 *      reads a text file from disk, allocates memory
    10691069 *      via malloc() and sets a pointer to this
     
    10741074 *      Otherwise, you should free() the buffer when
    10751075 *      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
     1080APIRET doshLoadTextFile(const char *pcszFile,  // in: file name to read
     1081                        PSZ* ppszContent)      // out: newly allocated buffer with file's content
    10801082{
    10811083    ULONG   ulSize,
     
    10851087    PSZ     pszContent = NULL;
    10861088
    1087     APIRET arc = DosOpen(pszFile,
     1089    APIRET arc = DosOpen((PSZ)pcszFile,
    10881090                         &hFile,
    10891091                         &ulAction,                      // action taken
Note: See TracChangeset for help on using the changeset viewer.