Create a directory named dir in the directory parent.
If successful, status is 1, with msg and msgid empty character strings. Otherwise, status is 0, msg contains a system-dependent error message, and msgid contains a unique message identifier.
See also: rmdir