Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kDirectory_AppData | ( | const kChar * | appName,
|  | kChar * | directory,
|  | kSize | capacity
| ) |  |

Gets a directory suitable for an application to write data files.

This function assumes the standard folder organization of a zen-based application.

Parameters

  appName | The name of the application (optional).
  directory | Returns the full path of the requested directory.
  capacity | Maximum number of characters (including null terminator).

Returns
  Operation status.