Ignore:
Timestamp:
Apr 17, 2001, 2:26:28 AM (24 years ago)
Author:
bird
Message:

Second iteration of the kFile* classes and interfaces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/common/kFile.cpp

    r4426 r5531  
    1 /* $Id: kFile.cpp,v 1.7 2000-10-05 07:27:56 bird Exp $
     1/* $Id: kFile.cpp,v 1.8 2001-04-17 00:26:10 bird Exp $
    22 *
    33 * kFile - Simple (for the time being) file class.
     
    945945}
    946946
     947
     948
     949/**
     950 * Reads the specified file in to a memory block and returns it.
     951 * @returns Pointer to memory mapping on success.
     952 *          NULL on error.
     953 * @param   pszFilename     Name of the file.
     954 * @author  knut st. osmundsen (knut.stange.osmundsen@mynd.no)
     955 * @remark  May throw errors.
     956 */
     957void *kFile::readFile(const char *pszFilename)
     958{
     959    kFile file(pszFilename);
     960    return file.readFile();
     961}
     962
Note: See TracChangeset for help on using the changeset viewer.