mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
docs: Split out platform specific GIO and GLib documentation
This creates `GioUnix`, `GioWin32`, `GLibUnix` and `GLibWin32`. These bodies of documentation are in addition to the main, platform agnostic, documentation for both libraries. This commit necessarily includes various mechanical changes to update the repository namespace used in various existing documentation links to platform specific APIs. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3037
This commit is contained in:
@@ -6,12 +6,16 @@ SPDX-FileCopyrightText: 2007 Matthias Clasen
|
||||
|
||||
## Comparison of POSIX and GIO concepts
|
||||
|
||||
| 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` | [struct@Gio.UnixMountPoint] |
|
||||
| `mtab entry` | [struct@Gio.UnixMountEntry] |
|
||||
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`](../gio-unix/struct.UnixMountPoint.html) |
|
||||
| `mtab entry` | [`GUnixMountEntry`](../gio-unix/struct.UnixMountEntry.html) |
|
||||
|
Reference in New Issue
Block a user