silc_file_writefile_mode
SYNOPSIS
int silc_file_writefile_mode(const char *filename, const char *buffer, SilcUInt32 len, int mode);
DESCRIPTION
Writes a buffer to the file. If the file is created the specified `mode' is set to the file. Returns 0 on success and -1 on error.