Extracted from Pike v7.4 release 341 at 2005-11-30.
pike.ida.liu.se
[Top]
predef::
Stdio

Method Stdio.mkdirhier()


Method mkdirhier

int Stdio.mkdirhier(string pathname, void|int mode)

Description

Creates zero or more directories to ensure that the given pathname is a directory.

If a mode is given, it's used for the new directories after being &'ed with the current umask (on OS'es that support this).

Returns

Returns zero if it fails and nonzero if it is successful.

See also

mkdir()