Add some more cases to the app-id unit tests
[glib.git] / docs / reference / gio / migrating-posix.xml
blobe7dc9f4fed4ad39b7ad2ac69b3fd96a600dab0bc
1 <part id="migrating">
2   <title>Migrating to GIO</title>
4   <chapter>
5     <title>Migrating from POSIX to GIO</title>
6   
7     <table id="posix-vs-gio">
8       <title>Comparison of POSIX and GIO concepts</title>
9       <tgroup cols="2">
10         <thead>
11           <row><entry>POSIX</entry><entry>GIO</entry></row>
12         </thead>
13         <tbody>
14           <row><entry>char *path</entry><entry>GFile *file</entry></row>
15           <row><entry>struct stat *buf</entry><entry>GFileInfo *info</entry></row>
16           <row><entry>struct statvfs *buf</entry><entry>GFileInfo *info</entry></row>
17           <row><entry morerows="1">int fd</entry><entry>GInputStream *in</entry></row>
18           <row><entry>GOutputStream *out</entry></row>
19           <row><entry>DIR *</entry><entry>GFileEnumerator *enum</entry></row>
20           <row><entry>fstab entry</entry><entry>GUnixMountPoint *mount_point</entry></row>
21           <row><entry>mtab entry</entry><entry>GUnixMountEntry *mount_entry</entry></row>
22         </tbody>
23       </tgroup>
24     </table>  
26   </chapter>
27 </part>