Files
RedBear-OS/recipes/libs/glib/source/docs/reference/gio/migrating-posix.md
T
vasilito facf0c92e0 feat: track all source trees in git — full fork offline-first model
Red Bear OS is a full fork. All sources must be available from git clone
with zero network access. Removed gitignore rules that excluded fetched
source trees under recipes/*/source/, local/recipes/kde/*/source/,
local/recipes/qt/*/source/, and vendor source trees.

Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded.

127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt
frameworks, mesa, wayland, DRM drivers, and every other recipe source.
2026-05-14 10:55:53 +01:00

1.1 KiB

Title: Migrating from POSIX to GIO SPDX-License-Identifier: LGPL-2.1-or-later SPDX-FileCopyrightText: 2007 Matthias Clasen

Migrating from POSIX to GIO

Comparison of POSIX and GIO concepts

The final two entries in this table require including gio-unix-2.0.pc as well as gio-2.0.pc in your build (or, in GIR namespace terms, GioUnix-2.0 as well as Gio-2.0).

POSIX GIO
char *path [iface@Gio.File]
struct stat *buf [class@Gio.FileInfo]
struct statvfs *buf [class@Gio.FileInfo]
int fd [class@Gio.InputStream] or [class@Gio.OutputStream]
DIR * [class@Gio.FileEnumerator]
fstab entry GUnixMountPoint
mtab entry GUnixMountEntry