Migrating from POSIX to GIO

Table 4. Comparison of POSIX and GIO concepts

POSIX GIO
char *path GFile *file
struct stat *buf GFileInfo *info
struct statvfs *buf GFileInfo *info
int fd GInputStream *in
GOutputStream *out
DIR * GFileEnumerator *enum
fstab entry GUnixMountPoint *mount_point
mtab entry GUnixMountEntry *mount_entry