silc_file_stat

SYNOPSIS

    SilcBool silc_file_stat(const char *filename, SilcBool follow_symlinks,
                            SilcFileStat return_stat);

DESCRIPTION

Returns status information of a file named `filename'. The status information is returned to `return_stat' structure. If the `follow_symlinks' is TRUE this will return the status of the file the symlink referts to. If it is FALSE, returns the status of the link itself.

Returns FALSE on error and sets the silc_errno. Returns TRUE otherwise.