December 21, 2024

Dynamic Windows Function [dw_user_dir]

Syntax

char * dw_user_dir(void)

Returns

char *

Description

Returns a pointer to a static buffer which contains the current user directory. Or the root directory if it could not be determined.

Remarks

Do not dw_free() the return value.