silc_file_fsize

SYNOPSIS

    SilcUInt64 silc_file_fsize(int fd);

DESCRIPTION

Returns the size of the file indicated by open file descriptor `fd'. Returns 0 on error and sets silc_errno. If silc_errno is not set the file size is 0 bytes if this returns 0.