48633da620
(is_directory() returns -1 if the file does not exist, 1 if it is a directory or a symlink to a directory, and 0 otherwise.)