int silc_file_open_mode(const char *filename, int flags, int mode);
DESCRIPTION
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. The `flags' are defined in open(2).