silc_file_writefile

SYNOPSIS

    int silc_file_writefile(const char *filename, const char *buffer,
                            SilcUInt32 len);

DESCRIPTION

Writes a buffer to the file. If the file is created specific mode is set to the file.