Kanzi Graphics Engine
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
kzs_directory.h File Reference

Standard directory functions. More...

Functions

KZ_HEADER_BEGIN kzsError kzsDirectoryMkdir (kzString path)
 Tries to create directory. More...
 
kzBool kzsDirectoryIsDirectory (kzString path)
 Checks if path is a directory. More...
 
kzUint kzsDirectoryGetTempPath (kzUint bufferSize, kzMutableString path)
 Writes tmp-path to string-buffer allocated by caller and returns length of the tmp-path without string-terminator. More...
 

Detailed Description

Standard directory functions.

Copyright 2008-2019 by Rightware. All rights reserved.

Function Documentation

KZ_HEADER_BEGIN kzsError kzsDirectoryMkdir ( kzString  path)

Tries to create directory.

Returns success if directory created successfully or if it already exists.

kzBool kzsDirectoryIsDirectory ( kzString  path)

Checks if path is a directory.

kzUint kzsDirectoryGetTempPath ( kzUint  bufferSize,
kzMutableString  path 
)

Writes tmp-path to string-buffer allocated by caller and returns length of the tmp-path without string-terminator.

If buffer is KZ_NULL, length is returned but no data is written.