int silc_file_open_mode(const char *filename, int flags, int mode);
Opens a file indicated by the filename `filename' with flags indicated by `flags'. The argument `mode' specifies the permissions to use in case a new file is created.