g_open_by_ident
fd = g_open_by_ident(ident, 0, name, size);
int g_open_by_ident(const char *, int, char *, size_t);