lq-text: LQU_IsDir

API int LQU_IsDir (Dir) CONST char *Dir;

Purpose

returns 1 if and only if the given path is a directory. See the description for stat(2) for more details.

Errors

A fatal error is issued if LQU_IsDir is called with a null string; a warning is issued if the string is of length zero.