Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kFile_Construct | ( | kFile * | file,
|  | const kChar * | path,
|  | kFileMode | mode,
|  | kAlloc | allocator
| ) |  |

Constructs a kFile object.

Parameters

  file | Destination for the constructed object handle.
  path | Path to the file.
  mode | Specifies how to open the file.
  allocator | Memory allocator (or kNULL for default).

Returns
  Operation status.