Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to read the source code of a GFileInfo function: g_file_info_get_content_type ( GFileInfo *info );

Could somebody tell me where to find the source code file? I search the glibc code by didn't found the functions.

These function are introduced in this link: http://library.gnome.org/devel//gio/2.26/GFileInfo.html

share|improve this question
Note that this is Glib, not glibc. Every character counts! – Gilles Mar 31 '11 at 18:18
up vote 3 down vote accepted

Here's the file you are looking for. Note that the page you linked is generated from it.

It's actually part of GLib (GTK+ Library) which is part of the GNOME project, but is used by a host of other software projects. You might wanna get a git checkout for the sake of convenience.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.