atk 0.90.2-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (849) hide show
  1. data/ChangeLog +241 -0
  2. data/README +30 -0
  3. data/Rakefile +74 -0
  4. data/ext/atk/Makefile +160 -0
  5. data/ext/atk/atk.def +2 -0
  6. data/ext/atk/depend +8 -0
  7. data/ext/atk/extconf.rb +60 -0
  8. data/ext/atk/makeinits.rb +39 -0
  9. data/ext/atk/rbatk.c +27 -0
  10. data/ext/atk/rbatk.h +36 -0
  11. data/ext/atk/rbatkaction.c +81 -0
  12. data/ext/atk/rbatkcomponent.c +184 -0
  13. data/ext/atk/rbatkdocument.c +95 -0
  14. data/ext/atk/rbatkeditabletext.c +102 -0
  15. data/ext/atk/rbatkgobjectaccessible.c +37 -0
  16. data/ext/atk/rbatkhyperlink.c +92 -0
  17. data/ext/atk/rbatkhypertext.c +44 -0
  18. data/ext/atk/rbatkimage.c +62 -0
  19. data/ext/atk/rbatkimplementor.c +27 -0
  20. data/ext/atk/rbatkinits.c +55 -0
  21. data/ext/atk/rbatknoopobject.c +30 -0
  22. data/ext/atk/rbatknoopobjectfactory.c +30 -0
  23. data/ext/atk/rbatkobject.c +178 -0
  24. data/ext/atk/rbatkobjectfactory.c +44 -0
  25. data/ext/atk/rbatkregistry.c +55 -0
  26. data/ext/atk/rbatkrelation.c +104 -0
  27. data/ext/atk/rbatkrelationset.c +94 -0
  28. data/ext/atk/rbatkselection.c +82 -0
  29. data/ext/atk/rbatkstate.c +41 -0
  30. data/ext/atk/rbatkstateset.c +143 -0
  31. data/ext/atk/rbatkstreamablecontent.c +50 -0
  32. data/ext/atk/rbatktable.c +292 -0
  33. data/ext/atk/rbatktext.c +364 -0
  34. data/ext/atk/rbatktextrange.c +91 -0
  35. data/ext/atk/rbatktextrectangle.c +156 -0
  36. data/ext/atk/rbatkutil.c +125 -0
  37. data/ext/atk/rbatkvalue.c +74 -0
  38. data/ext/atk/rbatkversion.h +24 -0
  39. data/extconf.rb +49 -0
  40. data/lib/1.8/atk.so +0 -0
  41. data/lib/1.9/atk.so +0 -0
  42. data/lib/atk.rb +12 -0
  43. data/vendor/local/bin/envsubst.exe +0 -0
  44. data/vendor/local/bin/gettext.exe +0 -0
  45. data/vendor/local/bin/gettext.sh +123 -0
  46. data/vendor/local/bin/glib-genmarshal.exe +0 -0
  47. data/vendor/local/bin/glib-gettextize +188 -0
  48. data/vendor/local/bin/glib-mkenums +511 -0
  49. data/vendor/local/bin/gobject-query.exe +0 -0
  50. data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
  51. data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
  52. data/vendor/local/bin/intl.dll +0 -0
  53. data/vendor/local/bin/libasprintf-0.dll +0 -0
  54. data/vendor/local/bin/libatk-1.0-0.dll +0 -0
  55. data/vendor/local/bin/libgcc_s_dw2-1.dll +0 -0
  56. data/vendor/local/bin/libgio-2.0-0.dll +0 -0
  57. data/vendor/local/bin/libglib-2.0-0.dll +0 -0
  58. data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
  59. data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
  60. data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
  61. data/vendor/local/bin/ngettext.exe +0 -0
  62. data/vendor/local/include/atk-1.0/atk/atk-enum-types.h +45 -0
  63. data/vendor/local/include/atk-1.0/atk/atk.h +56 -0
  64. data/vendor/local/include/atk-1.0/atk/atkaction.h +111 -0
  65. data/vendor/local/include/atk-1.0/atk/atkcomponent.h +171 -0
  66. data/vendor/local/include/atk-1.0/atk/atkdocument.h +83 -0
  67. data/vendor/local/include/atk-1.0/atk/atkeditabletext.h +104 -0
  68. data/vendor/local/include/atk-1.0/atk/atkgobjectaccessible.h +65 -0
  69. data/vendor/local/include/atk-1.0/atk/atkhyperlink.h +106 -0
  70. data/vendor/local/include/atk-1.0/atk/atkhyperlinkimpl.h +75 -0
  71. data/vendor/local/include/atk-1.0/atk/atkhypertext.h +78 -0
  72. data/vendor/local/include/atk-1.0/atk/atkimage.h +87 -0
  73. data/vendor/local/include/atk-1.0/atk/atkmisc.h +89 -0
  74. data/vendor/local/include/atk-1.0/atk/atknoopobject.h +55 -0
  75. data/vendor/local/include/atk-1.0/atk/atknoopobjectfactory.h +57 -0
  76. data/vendor/local/include/atk-1.0/atk/atkobject.h +649 -0
  77. data/vendor/local/include/atk-1.0/atk/atkobjectfactory.h +67 -0
  78. data/vendor/local/include/atk-1.0/atk/atkplug.h +61 -0
  79. data/vendor/local/include/atk-1.0/atk/atkregistry.h +69 -0
  80. data/vendor/local/include/atk-1.0/atk/atkrelation.h +89 -0
  81. data/vendor/local/include/atk-1.0/atk/atkrelationset.h +78 -0
  82. data/vendor/local/include/atk-1.0/atk/atkrelationtype.h +83 -0
  83. data/vendor/local/include/atk-1.0/atk/atkselection.h +95 -0
  84. data/vendor/local/include/atk-1.0/atk/atksocket.h +65 -0
  85. data/vendor/local/include/atk-1.0/atk/atkstate.h +178 -0
  86. data/vendor/local/include/atk-1.0/atk/atkstateset.h +80 -0
  87. data/vendor/local/include/atk-1.0/atk/atkstreamablecontent.h +105 -0
  88. data/vendor/local/include/atk-1.0/atk/atktable.h +217 -0
  89. data/vendor/local/include/atk-1.0/atk/atktext.h +365 -0
  90. data/vendor/local/include/atk-1.0/atk/atkutil.h +313 -0
  91. data/vendor/local/include/atk-1.0/atk/atkvalue.h +93 -0
  92. data/vendor/local/include/autosprintf.h +66 -0
  93. data/vendor/local/include/glib-2.0/gio/gappinfo.h +237 -0
  94. data/vendor/local/include/glib-2.0/gio/gasyncinitable.h +119 -0
  95. data/vendor/local/include/glib-2.0/gio/gasyncresult.h +73 -0
  96. data/vendor/local/include/glib-2.0/gio/gbufferedinputstream.h +123 -0
  97. data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +82 -0
  98. data/vendor/local/include/glib-2.0/gio/gcancellable.h +103 -0
  99. data/vendor/local/include/glib-2.0/gio/gcharsetconverter.h +60 -0
  100. data/vendor/local/include/glib-2.0/gio/gcontenttype.h +57 -0
  101. data/vendor/local/include/glib-2.0/gio/gconverter.h +95 -0
  102. data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +80 -0
  103. data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +80 -0
  104. data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +133 -0
  105. data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +116 -0
  106. data/vendor/local/include/glib-2.0/gio/gdrive.h +225 -0
  107. data/vendor/local/include/glib-2.0/gio/gemblem.h +58 -0
  108. data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +62 -0
  109. data/vendor/local/include/glib-2.0/gio/gfile.h +1017 -0
  110. data/vendor/local/include/glib-2.0/gio/gfileattribute.h +77 -0
  111. data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +133 -0
  112. data/vendor/local/include/glib-2.0/gio/gfileicon.h +56 -0
  113. data/vendor/local/include/glib-2.0/gio/gfileinfo.h +951 -0
  114. data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +112 -0
  115. data/vendor/local/include/glib-2.0/gio/gfileiostream.h +118 -0
  116. data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +95 -0
  117. data/vendor/local/include/glib-2.0/gio/gfilenamecompleter.h +76 -0
  118. data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +119 -0
  119. data/vendor/local/include/glib-2.0/gio/gfilterinputstream.h +76 -0
  120. data/vendor/local/include/glib-2.0/gio/gfilteroutputstream.h +76 -0
  121. data/vendor/local/include/glib-2.0/gio/gicon.h +91 -0
  122. data/vendor/local/include/glib-2.0/gio/ginetaddress.h +103 -0
  123. data/vendor/local/include/glib-2.0/gio/ginetsocketaddress.h +69 -0
  124. data/vendor/local/include/glib-2.0/gio/ginitable.h +96 -0
  125. data/vendor/local/include/glib-2.0/gio/ginputstream.h +172 -0
  126. data/vendor/local/include/glib-2.0/gio/gio.h +101 -0
  127. data/vendor/local/include/glib-2.0/gio/gioenums.h +703 -0
  128. data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +79 -0
  129. data/vendor/local/include/glib-2.0/gio/gioerror.h +48 -0
  130. data/vendor/local/include/glib-2.0/gio/giomodule.h +132 -0
  131. data/vendor/local/include/glib-2.0/gio/gioscheduler.h +52 -0
  132. data/vendor/local/include/glib-2.0/gio/giostream.h +112 -0
  133. data/vendor/local/include/glib-2.0/gio/giotypes.h +339 -0
  134. data/vendor/local/include/glib-2.0/gio/gloadableicon.h +97 -0
  135. data/vendor/local/include/glib-2.0/gio/gmemoryinputstream.h +82 -0
  136. data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +97 -0
  137. data/vendor/local/include/glib-2.0/gio/gmount.h +242 -0
  138. data/vendor/local/include/glib-2.0/gio/gmountoperation.h +123 -0
  139. data/vendor/local/include/glib-2.0/gio/gnativevolumemonitor.h +62 -0
  140. data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +69 -0
  141. data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +69 -0
  142. data/vendor/local/include/glib-2.0/gio/goutputstream.h +207 -0
  143. data/vendor/local/include/glib-2.0/gio/gresolver.h +167 -0
  144. data/vendor/local/include/glib-2.0/gio/gseekable.h +99 -0
  145. data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +125 -0
  146. data/vendor/local/include/glib-2.0/gio/gsocket.h +176 -0
  147. data/vendor/local/include/glib-2.0/gio/gsocketaddress.h +79 -0
  148. data/vendor/local/include/glib-2.0/gio/gsocketaddressenumerator.h +89 -0
  149. data/vendor/local/include/glib-2.0/gio/gsocketclient.h +130 -0
  150. data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +68 -0
  151. data/vendor/local/include/glib-2.0/gio/gsocketconnection.h +91 -0
  152. data/vendor/local/include/glib-2.0/gio/gsocketcontrolmessage.h +105 -0
  153. data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +138 -0
  154. data/vendor/local/include/glib-2.0/gio/gsocketservice.h +88 -0
  155. data/vendor/local/include/glib-2.0/gio/gsrvtarget.h +52 -0
  156. data/vendor/local/include/glib-2.0/gio/gtcpconnection.h +68 -0
  157. data/vendor/local/include/glib-2.0/gio/gthemedicon.h +63 -0
  158. data/vendor/local/include/glib-2.0/gio/gthreadedsocketservice.h +81 -0
  159. data/vendor/local/include/glib-2.0/gio/gvfs.h +125 -0
  160. data/vendor/local/include/glib-2.0/gio/gvolume.h +211 -0
  161. data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +151 -0
  162. data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +55 -0
  163. data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +54 -0
  164. data/vendor/local/include/glib-2.0/glib/galloca.h +63 -0
  165. data/vendor/local/include/glib-2.0/glib/garray.h +179 -0
  166. data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +120 -0
  167. data/vendor/local/include/glib-2.0/glib/gatomic.h +85 -0
  168. data/vendor/local/include/glib-2.0/glib/gbacktrace.h +68 -0
  169. data/vendor/local/include/glib-2.0/glib/gbase64.h +57 -0
  170. data/vendor/local/include/glib-2.0/glib/gbitlock.h +43 -0
  171. data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +191 -0
  172. data/vendor/local/include/glib-2.0/glib/gcache.h +69 -0
  173. data/vendor/local/include/glib-2.0/glib/gchecksum.h +86 -0
  174. data/vendor/local/include/glib-2.0/glib/gcompletion.h +77 -0
  175. data/vendor/local/include/glib-2.0/glib/gconvert.h +138 -0
  176. data/vendor/local/include/glib-2.0/glib/gdataset.h +122 -0
  177. data/vendor/local/include/glib-2.0/glib/gdate.h +263 -0
  178. data/vendor/local/include/glib-2.0/glib/gdir.h +52 -0
  179. data/vendor/local/include/glib-2.0/glib/gerror.h +98 -0
  180. data/vendor/local/include/glib-2.0/glib/gfileutils.h +128 -0
  181. data/vendor/local/include/glib-2.0/glib/ghash.h +166 -0
  182. data/vendor/local/include/glib-2.0/glib/ghook.h +181 -0
  183. data/vendor/local/include/glib-2.0/glib/ghostutils.h +40 -0
  184. data/vendor/local/include/glib-2.0/glib/gi18n-lib.h +38 -0
  185. data/vendor/local/include/glib-2.0/glib/gi18n.h +34 -0
  186. data/vendor/local/include/glib-2.0/glib/giochannel.h +366 -0
  187. data/vendor/local/include/glib-2.0/glib/gkeyfile.h +250 -0
  188. data/vendor/local/include/glib-2.0/glib/glist.h +120 -0
  189. data/vendor/local/include/glib-2.0/glib/gmacros.h +277 -0
  190. data/vendor/local/include/glib-2.0/glib/gmain.h +304 -0
  191. data/vendor/local/include/glib-2.0/glib/gmappedfile.h +49 -0
  192. data/vendor/local/include/glib-2.0/glib/gmarkup.h +163 -0
  193. data/vendor/local/include/glib-2.0/glib/gmem.h +203 -0
  194. data/vendor/local/include/glib-2.0/glib/gmessages.h +343 -0
  195. data/vendor/local/include/glib-2.0/glib/gnode.h +288 -0
  196. data/vendor/local/include/glib-2.0/glib/goption.h +370 -0
  197. data/vendor/local/include/glib-2.0/glib/gpattern.h +49 -0
  198. data/vendor/local/include/glib-2.0/glib/gpoll.h +93 -0
  199. data/vendor/local/include/glib-2.0/glib/gprimes.h +51 -0
  200. data/vendor/local/include/glib-2.0/glib/gprintf.h +52 -0
  201. data/vendor/local/include/glib-2.0/glib/gqsort.h +46 -0
  202. data/vendor/local/include/glib-2.0/glib/gquark.h +52 -0
  203. data/vendor/local/include/glib-2.0/glib/gqueue.h +127 -0
  204. data/vendor/local/include/glib-2.0/glib/grand.h +85 -0
  205. data/vendor/local/include/glib-2.0/glib/gregex.h +243 -0
  206. data/vendor/local/include/glib-2.0/glib/grel.h +97 -0
  207. data/vendor/local/include/glib-2.0/glib/gscanner.h +278 -0
  208. data/vendor/local/include/glib-2.0/glib/gsequence.h +128 -0
  209. data/vendor/local/include/glib-2.0/glib/gshell.h +55 -0
  210. data/vendor/local/include/glib-2.0/glib/gslice.h +86 -0
  211. data/vendor/local/include/glib-2.0/glib/gslist.h +114 -0
  212. data/vendor/local/include/glib-2.0/glib/gspawn.h +139 -0
  213. data/vendor/local/include/glib-2.0/glib/gstdio.h +159 -0
  214. data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +267 -0
  215. data/vendor/local/include/glib-2.0/glib/gstring.h +178 -0
  216. data/vendor/local/include/glib-2.0/glib/gtestutils.h +292 -0
  217. data/vendor/local/include/glib-2.0/glib/gthread.h +408 -0
  218. data/vendor/local/include/glib-2.0/glib/gthreadpool.h +114 -0
  219. data/vendor/local/include/glib-2.0/glib/gtimer.h +65 -0
  220. data/vendor/local/include/glib-2.0/glib/gtree.h +91 -0
  221. data/vendor/local/include/glib-2.0/glib/gtypes.h +451 -0
  222. data/vendor/local/include/glib-2.0/glib/gunicode.h +404 -0
  223. data/vendor/local/include/glib-2.0/glib/gurifuncs.h +81 -0
  224. data/vendor/local/include/glib-2.0/glib/gutils.h +490 -0
  225. data/vendor/local/include/glib-2.0/glib/gvariant.h +224 -0
  226. data/vendor/local/include/glib-2.0/glib/gvarianttype.h +305 -0
  227. data/vendor/local/include/glib-2.0/glib/gwin32.h +114 -0
  228. data/vendor/local/include/glib-2.0/glib-object.h +41 -0
  229. data/vendor/local/include/glib-2.0/glib.h +97 -0
  230. data/vendor/local/include/glib-2.0/gmodule.h +101 -0
  231. data/vendor/local/include/glib-2.0/gobject/gboxed.h +236 -0
  232. data/vendor/local/include/glib-2.0/gobject/gclosure.h +251 -0
  233. data/vendor/local/include/glib-2.0/gobject/genums.h +261 -0
  234. data/vendor/local/include/glib-2.0/gobject/gmarshal.h +169 -0
  235. data/vendor/local/include/glib-2.0/gobject/gobject.h +562 -0
  236. data/vendor/local/include/glib-2.0/gobject/gobjectnotifyqueue.c +166 -0
  237. data/vendor/local/include/glib-2.0/gobject/gparam.h +410 -0
  238. data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +1083 -0
  239. data/vendor/local/include/glib-2.0/gobject/gsignal.h +509 -0
  240. data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +51 -0
  241. data/vendor/local/include/glib-2.0/gobject/gtype.h +1608 -0
  242. data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +263 -0
  243. data/vendor/local/include/glib-2.0/gobject/gtypeplugin.h +134 -0
  244. data/vendor/local/include/glib-2.0/gobject/gvalue.h +159 -0
  245. data/vendor/local/include/glib-2.0/gobject/gvaluearray.h +77 -0
  246. data/vendor/local/include/glib-2.0/gobject/gvaluecollector.h +222 -0
  247. data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +243 -0
  248. data/vendor/local/include/libintl.h +464 -0
  249. data/vendor/local/lib/GNU.Gettext.dll +0 -0
  250. data/vendor/local/lib/atk-1.0.def +237 -0
  251. data/vendor/local/lib/atk-1.0.lib +0 -0
  252. data/vendor/local/lib/gio-2.0.def +800 -0
  253. data/vendor/local/lib/gio-2.0.lib +0 -0
  254. data/vendor/local/lib/glib-2.0/include/glibconfig.h +284 -0
  255. data/vendor/local/lib/glib-2.0.def +1381 -0
  256. data/vendor/local/lib/glib-2.0.lib +0 -0
  257. data/vendor/local/lib/gmodule-2.0.def +11 -0
  258. data/vendor/local/lib/gmodule-2.0.lib +0 -0
  259. data/vendor/local/lib/gobject-2.0.def +349 -0
  260. data/vendor/local/lib/gobject-2.0.lib +0 -0
  261. data/vendor/local/lib/gthread-2.0.def +3 -0
  262. data/vendor/local/lib/gthread-2.0.lib +0 -0
  263. data/vendor/local/lib/intl.lib +0 -0
  264. data/vendor/local/lib/libasprintf.dll.a +0 -0
  265. data/vendor/local/lib/libatk-1.0.dll.a +0 -0
  266. data/vendor/local/lib/libgio-2.0.dll.a +0 -0
  267. data/vendor/local/lib/libglib-2.0.dll.a +0 -0
  268. data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
  269. data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
  270. data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
  271. data/vendor/local/lib/libintl.def +31 -0
  272. data/vendor/local/lib/libintl.dll.a +0 -0
  273. data/vendor/local/lib/pkgconfig/atk.pc +11 -0
  274. data/vendor/local/lib/pkgconfig/gio-2.0.pc +14 -0
  275. data/vendor/local/lib/pkgconfig/glib-2.0.pc +15 -0
  276. data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +14 -0
  277. data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +14 -0
  278. data/vendor/local/lib/pkgconfig/gobject-2.0.pc +11 -0
  279. data/vendor/local/lib/pkgconfig/gthread-2.0.pc +11 -0
  280. data/vendor/local/manifest/atk-dev_1.30.0-2_win32.mft +37 -0
  281. data/vendor/local/manifest/atk_1.30.0-2_win32.mft +93 -0
  282. data/vendor/local/manifest/gettext-runtime-dev_0.18.1.1-2_win32.mft +81 -0
  283. data/vendor/local/manifest/gettext-runtime_0.18.1.1-2_win32.mft +3 -0
  284. data/vendor/local/manifest/glib-dev_2.24.2-2_win32.mft +491 -0
  285. data/vendor/local/manifest/glib_2.24.2-2_win32.mft +101 -0
  286. data/vendor/local/share/aclocal/glib-2.0.m4 +211 -0
  287. data/vendor/local/share/aclocal/glib-gettext.m4 +432 -0
  288. data/vendor/local/share/doc/gettext/bind_textdomain_codeset.3.html +165 -0
  289. data/vendor/local/share/doc/gettext/bindtextdomain.3.html +160 -0
  290. data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext.html +8 -0
  291. data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceManager.html +305 -0
  292. data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceSet.html +356 -0
  293. data/vendor/local/share/doc/gettext/csharpdoc/begin.html +11 -0
  294. data/vendor/local/share/doc/gettext/csharpdoc/index.html +10 -0
  295. data/vendor/local/share/doc/gettext/csharpdoc/namespaces.html +6 -0
  296. data/vendor/local/share/doc/gettext/envsubst.1.html +213 -0
  297. data/vendor/local/share/doc/gettext/gettext.1.html +266 -0
  298. data/vendor/local/share/doc/gettext/gettext.3.html +186 -0
  299. data/vendor/local/share/doc/gettext/ngettext.1.html +280 -0
  300. data/vendor/local/share/doc/gettext/ngettext.3.html +143 -0
  301. data/vendor/local/share/doc/gettext/textdomain.3.html +150 -0
  302. data/vendor/local/share/doc/glib-2.24.2/COPYING +482 -0
  303. data/vendor/local/share/doc/glib-dev-2.24.2/COPYING +482 -0
  304. data/vendor/local/share/doc/libasprintf/autosprintf_all.html +174 -0
  305. data/vendor/local/share/glib-2.0/gdb/glib.py +252 -0
  306. data/vendor/local/share/glib-2.0/gdb/gobject.py +305 -0
  307. data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +111 -0
  308. data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +277 -0
  309. data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +1390 -0
  310. data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +531 -0
  311. data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +343 -0
  312. data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +568 -0
  313. data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +295 -0
  314. data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +620 -0
  315. data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +245 -0
  316. data/vendor/local/share/gtk-doc/html/gio/GConverter.html +388 -0
  317. data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +993 -0
  318. data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +544 -0
  319. data/vendor/local/share/gtk-doc/html/gio/GDrive.html +1416 -0
  320. data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +272 -0
  321. data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +206 -0
  322. data/vendor/local/share/gtk-doc/html/gio/GFile.html +7450 -0
  323. data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +115 -0
  324. data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +520 -0
  325. data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +312 -0
  326. data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +155 -0
  327. data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +3116 -0
  328. data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +262 -0
  329. data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +353 -0
  330. data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +301 -0
  331. data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +217 -0
  332. data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +182 -0
  333. data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +183 -0
  334. data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +261 -0
  335. data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +479 -0
  336. data/vendor/local/share/gtk-doc/html/gio/GIcon.html +331 -0
  337. data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +717 -0
  338. data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +195 -0
  339. data/vendor/local/share/gtk-doc/html/gio/GInitable.html +388 -0
  340. data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +808 -0
  341. data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +301 -0
  342. data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +185 -0
  343. data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +362 -0
  344. data/vendor/local/share/gtk-doc/html/gio/GMount.html +1465 -0
  345. data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +848 -0
  346. data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +263 -0
  347. data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +248 -0
  348. data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +1006 -0
  349. data/vendor/local/share/gtk-doc/html/gio/GResolver.html +787 -0
  350. data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +350 -0
  351. data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +979 -0
  352. data/vendor/local/share/gtk-doc/html/gio/GSocket.html +2152 -0
  353. data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +297 -0
  354. data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +930 -0
  355. data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +428 -0
  356. data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +548 -0
  357. data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +274 -0
  358. data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +741 -0
  359. data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +258 -0
  360. data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +377 -0
  361. data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +197 -0
  362. data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +381 -0
  363. data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +280 -0
  364. data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +237 -0
  365. data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +237 -0
  366. data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +306 -0
  367. data/vendor/local/share/gtk-doc/html/gio/GVfs.html +274 -0
  368. data/vendor/local/share/gtk-doc/html/gio/GVolume.html +1028 -0
  369. data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +709 -0
  370. data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +180 -0
  371. data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +128 -0
  372. data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +153 -0
  373. data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +155 -0
  374. data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +1088 -0
  375. data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +206 -0
  376. data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +97 -0
  377. data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +4499 -0
  378. data/vendor/local/share/gtk-doc/html/gio/async.html +44 -0
  379. data/vendor/local/share/gtk-doc/html/gio/ch01.html +171 -0
  380. data/vendor/local/share/gtk-doc/html/gio/ch02.html +45 -0
  381. data/vendor/local/share/gtk-doc/html/gio/ch03.html +80 -0
  382. data/vendor/local/share/gtk-doc/html/gio/ch19.html +75 -0
  383. data/vendor/local/share/gtk-doc/html/gio/ch20.html +217 -0
  384. data/vendor/local/share/gtk-doc/html/gio/ch20s02.html +41 -0
  385. data/vendor/local/share/gtk-doc/html/gio/ch20s03.html +39 -0
  386. data/vendor/local/share/gtk-doc/html/gio/conversion.html +44 -0
  387. data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +96 -0
  388. data/vendor/local/share/gtk-doc/html/gio/extending.html +41 -0
  389. data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +38 -0
  390. data/vendor/local/share/gtk-doc/html/gio/file_mon.html +33 -0
  391. data/vendor/local/share/gtk-doc/html/gio/file_ops.html +50 -0
  392. data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +339 -0
  393. data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +465 -0
  394. data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +381 -0
  395. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +163 -0
  396. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +163 -0
  397. data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +927 -0
  398. data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +328 -0
  399. data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +297 -0
  400. data/vendor/local/share/gtk-doc/html/gio/gio-GSrvTarget.html +313 -0
  401. data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +918 -0
  402. data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +107 -0
  403. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +1235 -0
  404. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +1384 -0
  405. data/vendor/local/share/gtk-doc/html/gio/gvfs-overview.png +0 -0
  406. data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +47 -0
  407. data/vendor/local/share/gtk-doc/html/gio/home.png +0 -0
  408. data/vendor/local/share/gtk-doc/html/gio/icons.html +50 -0
  409. data/vendor/local/share/gtk-doc/html/gio/index.html +318 -0
  410. data/vendor/local/share/gtk-doc/html/gio/index.sgml +1795 -0
  411. data/vendor/local/share/gtk-doc/html/gio/left.png +0 -0
  412. data/vendor/local/share/gtk-doc/html/gio/migrating.html +42 -0
  413. data/vendor/local/share/gtk-doc/html/gio/networking.html +57 -0
  414. data/vendor/local/share/gtk-doc/html/gio/pt01.html +39 -0
  415. data/vendor/local/share/gtk-doc/html/gio/pt02.html +293 -0
  416. data/vendor/local/share/gtk-doc/html/gio/resolver.html +47 -0
  417. data/vendor/local/share/gtk-doc/html/gio/right.png +0 -0
  418. data/vendor/local/share/gtk-doc/html/gio/streaming.html +92 -0
  419. data/vendor/local/share/gtk-doc/html/gio/style.css +257 -0
  420. data/vendor/local/share/gtk-doc/html/gio/types.html +41 -0
  421. data/vendor/local/share/gtk-doc/html/gio/up.png +0 -0
  422. data/vendor/local/share/gtk-doc/html/gio/utils.html +33 -0
  423. data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +47 -0
  424. data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +180 -0
  425. data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +312 -0
  426. data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +563 -0
  427. data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +362 -0
  428. data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +102 -0
  429. data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +124 -0
  430. data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +83 -0
  431. data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +194 -0
  432. data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +419 -0
  433. data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +389 -0
  434. data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +413 -0
  435. data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +158 -0
  436. data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +340 -0
  437. data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +7835 -0
  438. data/vendor/local/share/gtk-doc/html/glib/file-name-encodings.png +0 -0
  439. data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +893 -0
  440. data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +818 -0
  441. data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +413 -0
  442. data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +430 -0
  443. data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +802 -0
  444. data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +372 -0
  445. data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +500 -0
  446. data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +2054 -0
  447. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +560 -0
  448. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +1686 -0
  449. data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +398 -0
  450. data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +1187 -0
  451. data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +1665 -0
  452. data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +460 -0
  453. data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +528 -0
  454. data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +2042 -0
  455. data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +1278 -0
  456. data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +1406 -0
  457. data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +548 -0
  458. data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +1023 -0
  459. data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +1810 -0
  460. data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +3798 -0
  461. data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +1815 -0
  462. data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +295 -0
  463. data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +1512 -0
  464. data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +1367 -0
  465. data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +229 -0
  466. data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +629 -0
  467. data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +2196 -0
  468. data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +2556 -0
  469. data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +612 -0
  470. data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +1451 -0
  471. data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +389 -0
  472. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +1029 -0
  473. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +141 -0
  474. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +706 -0
  475. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +510 -0
  476. data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +703 -0
  477. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +1045 -0
  478. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +1523 -0
  479. data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +1466 -0
  480. data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +204 -0
  481. data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +2648 -0
  482. data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +752 -0
  483. data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +269 -0
  484. data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +578 -0
  485. data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +483 -0
  486. data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +1353 -0
  487. data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +238 -0
  488. data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +1283 -0
  489. data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +1212 -0
  490. data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +924 -0
  491. data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +466 -0
  492. data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +301 -0
  493. data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +2947 -0
  494. data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +1290 -0
  495. data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +1719 -0
  496. data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +3379 -0
  497. data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +606 -0
  498. data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +3411 -0
  499. data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +245 -0
  500. data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +188 -0
  501. data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +263 -0
  502. data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +314 -0
  503. data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +3356 -0
  504. data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +150 -0
  505. data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +438 -0
  506. data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +476 -0
  507. data/vendor/local/share/gtk-doc/html/glib/glib-building.html +438 -0
  508. data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +159 -0
  509. data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +118 -0
  510. data/vendor/local/share/gtk-doc/html/glib/glib-core.html +64 -0
  511. data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +160 -0
  512. data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +120 -0
  513. data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +59 -0
  514. data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +93 -0
  515. data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +2395 -0
  516. data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +121 -0
  517. data/vendor/local/share/gtk-doc/html/glib/glib-running.html +302 -0
  518. data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +112 -0
  519. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +2084 -0
  520. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +2556 -0
  521. data/vendor/local/share/gtk-doc/html/glib/glib.html +80 -0
  522. data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +72 -0
  523. data/vendor/local/share/gtk-doc/html/glib/gtester.html +131 -0
  524. data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +1171 -0
  525. data/vendor/local/share/gtk-doc/html/glib/home.png +0 -0
  526. data/vendor/local/share/gtk-doc/html/glib/index.html +336 -0
  527. data/vendor/local/share/gtk-doc/html/glib/index.sgml +2717 -0
  528. data/vendor/local/share/gtk-doc/html/glib/left.png +0 -0
  529. data/vendor/local/share/gtk-doc/html/glib/mainloop-states.gif +0 -0
  530. data/vendor/local/share/gtk-doc/html/glib/right.png +0 -0
  531. data/vendor/local/share/gtk-doc/html/glib/style.css +257 -0
  532. data/vendor/local/share/gtk-doc/html/glib/tools.html +41 -0
  533. data/vendor/local/share/gtk-doc/html/glib/up.png +0 -0
  534. data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +710 -0
  535. data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +453 -0
  536. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +85 -0
  537. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +55 -0
  538. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +51 -0
  539. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +46 -0
  540. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +38 -0
  541. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +46 -0
  542. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +72 -0
  543. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +178 -0
  544. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +42 -0
  545. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +42 -0
  546. data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +50 -0
  547. data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +2577 -0
  548. data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +136 -0
  549. data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +113 -0
  550. data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +293 -0
  551. data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +263 -0
  552. data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +92 -0
  553. data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +214 -0
  554. data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +355 -0
  555. data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +295 -0
  556. data/vendor/local/share/gtk-doc/html/gobject/glue.png +0 -0
  557. data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +406 -0
  558. data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +2355 -0
  559. data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +847 -0
  560. data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +1423 -0
  561. data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +776 -0
  562. data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +2741 -0
  563. data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +5242 -0
  564. data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +2609 -0
  565. data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +4227 -0
  566. data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +413 -0
  567. data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +230 -0
  568. data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +234 -0
  569. data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +270 -0
  570. data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +117 -0
  571. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +723 -0
  572. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +757 -0
  573. data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +143 -0
  574. data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +287 -0
  575. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +316 -0
  576. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +76 -0
  577. data/vendor/local/share/gtk-doc/html/gobject/home.png +0 -0
  578. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +100 -0
  579. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +86 -0
  580. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +113 -0
  581. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +122 -0
  582. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +257 -0
  583. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +283 -0
  584. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +125 -0
  585. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +167 -0
  586. data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +160 -0
  587. data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +121 -0
  588. data/vendor/local/share/gtk-doc/html/gobject/index.html +187 -0
  589. data/vendor/local/share/gtk-doc/html/gobject/index.sgml +734 -0
  590. data/vendor/local/share/gtk-doc/html/gobject/left.png +0 -0
  591. data/vendor/local/share/gtk-doc/html/gobject/pr01.html +72 -0
  592. data/vendor/local/share/gtk-doc/html/gobject/pt01.html +80 -0
  593. data/vendor/local/share/gtk-doc/html/gobject/pt02.html +66 -0
  594. data/vendor/local/share/gtk-doc/html/gobject/pt03.html +55 -0
  595. data/vendor/local/share/gtk-doc/html/gobject/right.png +0 -0
  596. data/vendor/local/share/gtk-doc/html/gobject/rn01.html +82 -0
  597. data/vendor/local/share/gtk-doc/html/gobject/rn02.html +47 -0
  598. data/vendor/local/share/gtk-doc/html/gobject/signal.html +377 -0
  599. data/vendor/local/share/gtk-doc/html/gobject/style.css +257 -0
  600. data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +35 -0
  601. data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +40 -0
  602. data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +63 -0
  603. data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +55 -0
  604. data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +43 -0
  605. data/vendor/local/share/gtk-doc/html/gobject/up.png +0 -0
  606. data/vendor/local/share/locale/af/LC_MESSAGES/atk10.mo +0 -0
  607. data/vendor/local/share/locale/af/LC_MESSAGES/glib20.mo +0 -0
  608. data/vendor/local/share/locale/am/LC_MESSAGES/atk10.mo +0 -0
  609. data/vendor/local/share/locale/am/LC_MESSAGES/glib20.mo +0 -0
  610. data/vendor/local/share/locale/ar/LC_MESSAGES/atk10.mo +0 -0
  611. data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
  612. data/vendor/local/share/locale/as/LC_MESSAGES/atk10.mo +0 -0
  613. data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
  614. data/vendor/local/share/locale/ast/LC_MESSAGES/atk10.mo +0 -0
  615. data/vendor/local/share/locale/ast/LC_MESSAGES/glib20.mo +0 -0
  616. data/vendor/local/share/locale/az/LC_MESSAGES/atk10.mo +0 -0
  617. data/vendor/local/share/locale/az/LC_MESSAGES/glib20.mo +0 -0
  618. data/vendor/local/share/locale/be/LC_MESSAGES/atk10.mo +0 -0
  619. data/vendor/local/share/locale/be/LC_MESSAGES/gettext-runtime.mo +0 -0
  620. data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
  621. data/vendor/local/share/locale/be@latin/LC_MESSAGES/atk10.mo +0 -0
  622. data/vendor/local/share/locale/be@latin/LC_MESSAGES/glib20.mo +0 -0
  623. data/vendor/local/share/locale/bg/LC_MESSAGES/atk10.mo +0 -0
  624. data/vendor/local/share/locale/bg/LC_MESSAGES/gettext-runtime.mo +0 -0
  625. data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
  626. data/vendor/local/share/locale/bn/LC_MESSAGES/atk10.mo +0 -0
  627. data/vendor/local/share/locale/bn/LC_MESSAGES/glib20.mo +0 -0
  628. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/atk10.mo +0 -0
  629. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
  630. data/vendor/local/share/locale/bs/LC_MESSAGES/atk10.mo +0 -0
  631. data/vendor/local/share/locale/bs/LC_MESSAGES/glib20.mo +0 -0
  632. data/vendor/local/share/locale/ca/LC_MESSAGES/atk10.mo +0 -0
  633. data/vendor/local/share/locale/ca/LC_MESSAGES/gettext-runtime.mo +0 -0
  634. data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
  635. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/atk10.mo +0 -0
  636. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
  637. data/vendor/local/share/locale/cs/LC_MESSAGES/atk10.mo +0 -0
  638. data/vendor/local/share/locale/cs/LC_MESSAGES/gettext-runtime.mo +0 -0
  639. data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
  640. data/vendor/local/share/locale/cy/LC_MESSAGES/atk10.mo +0 -0
  641. data/vendor/local/share/locale/cy/LC_MESSAGES/glib20.mo +0 -0
  642. data/vendor/local/share/locale/da/LC_MESSAGES/atk10.mo +0 -0
  643. data/vendor/local/share/locale/da/LC_MESSAGES/gettext-runtime.mo +0 -0
  644. data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
  645. data/vendor/local/share/locale/de/LC_MESSAGES/atk10.mo +0 -0
  646. data/vendor/local/share/locale/de/LC_MESSAGES/gettext-runtime.mo +0 -0
  647. data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
  648. data/vendor/local/share/locale/dz/LC_MESSAGES/atk10.mo +0 -0
  649. data/vendor/local/share/locale/dz/LC_MESSAGES/glib20.mo +0 -0
  650. data/vendor/local/share/locale/el/LC_MESSAGES/atk10.mo +0 -0
  651. data/vendor/local/share/locale/el/LC_MESSAGES/gettext-runtime.mo +0 -0
  652. data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
  653. data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/gettext-runtime.mo +0 -0
  654. data/vendor/local/share/locale/en@quot/LC_MESSAGES/gettext-runtime.mo +0 -0
  655. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/atk10.mo +0 -0
  656. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/glib20.mo +0 -0
  657. data/vendor/local/share/locale/en_CA/LC_MESSAGES/atk10.mo +0 -0
  658. data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib20.mo +0 -0
  659. data/vendor/local/share/locale/en_GB/LC_MESSAGES/atk10.mo +0 -0
  660. data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
  661. data/vendor/local/share/locale/eo/LC_MESSAGES/atk10.mo +0 -0
  662. data/vendor/local/share/locale/eo/LC_MESSAGES/gettext-runtime.mo +0 -0
  663. data/vendor/local/share/locale/eo/LC_MESSAGES/glib20.mo +0 -0
  664. data/vendor/local/share/locale/es/LC_MESSAGES/atk10.mo +0 -0
  665. data/vendor/local/share/locale/es/LC_MESSAGES/gettext-runtime.mo +0 -0
  666. data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
  667. data/vendor/local/share/locale/et/LC_MESSAGES/atk10.mo +0 -0
  668. data/vendor/local/share/locale/et/LC_MESSAGES/gettext-runtime.mo +0 -0
  669. data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
  670. data/vendor/local/share/locale/eu/LC_MESSAGES/atk10.mo +0 -0
  671. data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
  672. data/vendor/local/share/locale/fa/LC_MESSAGES/atk10.mo +0 -0
  673. data/vendor/local/share/locale/fa/LC_MESSAGES/glib20.mo +0 -0
  674. data/vendor/local/share/locale/fi/LC_MESSAGES/atk10.mo +0 -0
  675. data/vendor/local/share/locale/fi/LC_MESSAGES/gettext-runtime.mo +0 -0
  676. data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
  677. data/vendor/local/share/locale/fr/LC_MESSAGES/atk10.mo +0 -0
  678. data/vendor/local/share/locale/fr/LC_MESSAGES/gettext-runtime.mo +0 -0
  679. data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
  680. data/vendor/local/share/locale/ga/LC_MESSAGES/atk10.mo +0 -0
  681. data/vendor/local/share/locale/ga/LC_MESSAGES/gettext-runtime.mo +0 -0
  682. data/vendor/local/share/locale/ga/LC_MESSAGES/glib20.mo +0 -0
  683. data/vendor/local/share/locale/gl/LC_MESSAGES/atk10.mo +0 -0
  684. data/vendor/local/share/locale/gl/LC_MESSAGES/gettext-runtime.mo +0 -0
  685. data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
  686. data/vendor/local/share/locale/gu/LC_MESSAGES/atk10.mo +0 -0
  687. data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
  688. data/vendor/local/share/locale/he/LC_MESSAGES/atk10.mo +0 -0
  689. data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
  690. data/vendor/local/share/locale/hi/LC_MESSAGES/atk10.mo +0 -0
  691. data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
  692. data/vendor/local/share/locale/hr/LC_MESSAGES/atk10.mo +0 -0
  693. data/vendor/local/share/locale/hr/LC_MESSAGES/glib20.mo +0 -0
  694. data/vendor/local/share/locale/hu/LC_MESSAGES/atk10.mo +0 -0
  695. data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
  696. data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
  697. data/vendor/local/share/locale/id/LC_MESSAGES/atk10.mo +0 -0
  698. data/vendor/local/share/locale/id/LC_MESSAGES/gettext-runtime.mo +0 -0
  699. data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
  700. data/vendor/local/share/locale/is/LC_MESSAGES/atk10.mo +0 -0
  701. data/vendor/local/share/locale/is/LC_MESSAGES/glib20.mo +0 -0
  702. data/vendor/local/share/locale/it/LC_MESSAGES/atk10.mo +0 -0
  703. data/vendor/local/share/locale/it/LC_MESSAGES/gettext-runtime.mo +0 -0
  704. data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
  705. data/vendor/local/share/locale/ja/LC_MESSAGES/atk10.mo +0 -0
  706. data/vendor/local/share/locale/ja/LC_MESSAGES/gettext-runtime.mo +0 -0
  707. data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
  708. data/vendor/local/share/locale/ka/LC_MESSAGES/atk10.mo +0 -0
  709. data/vendor/local/share/locale/ka/LC_MESSAGES/glib20.mo +0 -0
  710. data/vendor/local/share/locale/kn/LC_MESSAGES/atk10.mo +0 -0
  711. data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
  712. data/vendor/local/share/locale/ko/LC_MESSAGES/atk10.mo +0 -0
  713. data/vendor/local/share/locale/ko/LC_MESSAGES/gettext-runtime.mo +0 -0
  714. data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
  715. data/vendor/local/share/locale/ku/LC_MESSAGES/atk10.mo +0 -0
  716. data/vendor/local/share/locale/ku/LC_MESSAGES/glib20.mo +0 -0
  717. data/vendor/local/share/locale/li/LC_MESSAGES/atk10.mo +0 -0
  718. data/vendor/local/share/locale/locale.alias +77 -0
  719. data/vendor/local/share/locale/lt/LC_MESSAGES/atk10.mo +0 -0
  720. data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
  721. data/vendor/local/share/locale/lv/LC_MESSAGES/atk10.mo +0 -0
  722. data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
  723. data/vendor/local/share/locale/mai/LC_MESSAGES/atk10.mo +0 -0
  724. data/vendor/local/share/locale/mai/LC_MESSAGES/glib20.mo +0 -0
  725. data/vendor/local/share/locale/mg/LC_MESSAGES/glib20.mo +0 -0
  726. data/vendor/local/share/locale/mk/LC_MESSAGES/atk10.mo +0 -0
  727. data/vendor/local/share/locale/mk/LC_MESSAGES/glib20.mo +0 -0
  728. data/vendor/local/share/locale/ml/LC_MESSAGES/atk10.mo +0 -0
  729. data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
  730. data/vendor/local/share/locale/mn/LC_MESSAGES/atk10.mo +0 -0
  731. data/vendor/local/share/locale/mn/LC_MESSAGES/glib20.mo +0 -0
  732. data/vendor/local/share/locale/mr/LC_MESSAGES/atk10.mo +0 -0
  733. data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
  734. data/vendor/local/share/locale/ms/LC_MESSAGES/atk10.mo +0 -0
  735. data/vendor/local/share/locale/ms/LC_MESSAGES/glib20.mo +0 -0
  736. data/vendor/local/share/locale/nb/LC_MESSAGES/atk10.mo +0 -0
  737. data/vendor/local/share/locale/nb/LC_MESSAGES/gettext-runtime.mo +0 -0
  738. data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
  739. data/vendor/local/share/locale/nds/LC_MESSAGES/glib20.mo +0 -0
  740. data/vendor/local/share/locale/ne/LC_MESSAGES/atk10.mo +0 -0
  741. data/vendor/local/share/locale/ne/LC_MESSAGES/glib20.mo +0 -0
  742. data/vendor/local/share/locale/nl/LC_MESSAGES/atk10.mo +0 -0
  743. data/vendor/local/share/locale/nl/LC_MESSAGES/gettext-runtime.mo +0 -0
  744. data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
  745. data/vendor/local/share/locale/nn/LC_MESSAGES/atk10.mo +0 -0
  746. data/vendor/local/share/locale/nn/LC_MESSAGES/gettext-runtime.mo +0 -0
  747. data/vendor/local/share/locale/nn/LC_MESSAGES/glib20.mo +0 -0
  748. data/vendor/local/share/locale/oc/LC_MESSAGES/atk10.mo +0 -0
  749. data/vendor/local/share/locale/oc/LC_MESSAGES/glib20.mo +0 -0
  750. data/vendor/local/share/locale/or/LC_MESSAGES/atk10.mo +0 -0
  751. data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
  752. data/vendor/local/share/locale/pa/LC_MESSAGES/atk10.mo +0 -0
  753. data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
  754. data/vendor/local/share/locale/pl/LC_MESSAGES/atk10.mo +0 -0
  755. data/vendor/local/share/locale/pl/LC_MESSAGES/gettext-runtime.mo +0 -0
  756. data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
  757. data/vendor/local/share/locale/ps/LC_MESSAGES/atk10.mo +0 -0
  758. data/vendor/local/share/locale/ps/LC_MESSAGES/glib20.mo +0 -0
  759. data/vendor/local/share/locale/pt/LC_MESSAGES/atk10.mo +0 -0
  760. data/vendor/local/share/locale/pt/LC_MESSAGES/gettext-runtime.mo +0 -0
  761. data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
  762. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/atk10.mo +0 -0
  763. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gettext-runtime.mo +0 -0
  764. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
  765. data/vendor/local/share/locale/ro/LC_MESSAGES/atk10.mo +0 -0
  766. data/vendor/local/share/locale/ro/LC_MESSAGES/gettext-runtime.mo +0 -0
  767. data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
  768. data/vendor/local/share/locale/ru/LC_MESSAGES/atk10.mo +0 -0
  769. data/vendor/local/share/locale/ru/LC_MESSAGES/gettext-runtime.mo +0 -0
  770. data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
  771. data/vendor/local/share/locale/rw/LC_MESSAGES/atk10.mo +0 -0
  772. data/vendor/local/share/locale/rw/LC_MESSAGES/glib20.mo +0 -0
  773. data/vendor/local/share/locale/si/LC_MESSAGES/atk10.mo +0 -0
  774. data/vendor/local/share/locale/si/LC_MESSAGES/glib20.mo +0 -0
  775. data/vendor/local/share/locale/sk/LC_MESSAGES/atk10.mo +0 -0
  776. data/vendor/local/share/locale/sk/LC_MESSAGES/gettext-runtime.mo +0 -0
  777. data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
  778. data/vendor/local/share/locale/sl/LC_MESSAGES/atk10.mo +0 -0
  779. data/vendor/local/share/locale/sl/LC_MESSAGES/gettext-runtime.mo +0 -0
  780. data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
  781. data/vendor/local/share/locale/sq/LC_MESSAGES/atk10.mo +0 -0
  782. data/vendor/local/share/locale/sq/LC_MESSAGES/glib20.mo +0 -0
  783. data/vendor/local/share/locale/sr/LC_MESSAGES/atk10.mo +0 -0
  784. data/vendor/local/share/locale/sr/LC_MESSAGES/gettext-runtime.mo +0 -0
  785. data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
  786. data/vendor/local/share/locale/sr@ije/LC_MESSAGES/atk10.mo +0 -0
  787. data/vendor/local/share/locale/sr@ije/LC_MESSAGES/glib20.mo +0 -0
  788. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/atk10.mo +0 -0
  789. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
  790. data/vendor/local/share/locale/sv/LC_MESSAGES/atk10.mo +0 -0
  791. data/vendor/local/share/locale/sv/LC_MESSAGES/gettext-runtime.mo +0 -0
  792. data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
  793. data/vendor/local/share/locale/ta/LC_MESSAGES/atk10.mo +0 -0
  794. data/vendor/local/share/locale/ta/LC_MESSAGES/glib20.mo +0 -0
  795. data/vendor/local/share/locale/te/LC_MESSAGES/atk10.mo +0 -0
  796. data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
  797. data/vendor/local/share/locale/th/LC_MESSAGES/atk10.mo +0 -0
  798. data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
  799. data/vendor/local/share/locale/tk/LC_MESSAGES/atk10.mo +0 -0
  800. data/vendor/local/share/locale/tl/LC_MESSAGES/glib20.mo +0 -0
  801. data/vendor/local/share/locale/tr/LC_MESSAGES/atk10.mo +0 -0
  802. data/vendor/local/share/locale/tr/LC_MESSAGES/gettext-runtime.mo +0 -0
  803. data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
  804. data/vendor/local/share/locale/tt/LC_MESSAGES/atk10.mo +0 -0
  805. data/vendor/local/share/locale/tt/LC_MESSAGES/glib20.mo +0 -0
  806. data/vendor/local/share/locale/ug/LC_MESSAGES/atk10.mo +0 -0
  807. data/vendor/local/share/locale/uk/LC_MESSAGES/atk10.mo +0 -0
  808. data/vendor/local/share/locale/uk/LC_MESSAGES/gettext-runtime.mo +0 -0
  809. data/vendor/local/share/locale/uk/LC_MESSAGES/glib20.mo +0 -0
  810. data/vendor/local/share/locale/vi/LC_MESSAGES/atk10.mo +0 -0
  811. data/vendor/local/share/locale/vi/LC_MESSAGES/gettext-runtime.mo +0 -0
  812. data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
  813. data/vendor/local/share/locale/wa/LC_MESSAGES/atk10.mo +0 -0
  814. data/vendor/local/share/locale/wa/LC_MESSAGES/glib20.mo +0 -0
  815. data/vendor/local/share/locale/xh/LC_MESSAGES/atk10.mo +0 -0
  816. data/vendor/local/share/locale/xh/LC_MESSAGES/glib20.mo +0 -0
  817. data/vendor/local/share/locale/yi/LC_MESSAGES/atk10.mo +0 -0
  818. data/vendor/local/share/locale/yi/LC_MESSAGES/glib20.mo +0 -0
  819. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/atk10.mo +0 -0
  820. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gettext-runtime.mo +0 -0
  821. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
  822. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/atk10.mo +0 -0
  823. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo +0 -0
  824. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
  825. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/atk10.mo +0 -0
  826. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gettext-runtime.mo +0 -0
  827. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
  828. data/vendor/local/share/man/man1/envsubst.1 +54 -0
  829. data/vendor/local/share/man/man1/gettext.1 +69 -0
  830. data/vendor/local/share/man/man1/glib-genmarshal.1 +307 -0
  831. data/vendor/local/share/man/man1/glib-mkenums.1 +234 -0
  832. data/vendor/local/share/man/man1/gobject-query.1 +83 -0
  833. data/vendor/local/share/man/man1/ngettext.1 +68 -0
  834. data/vendor/local/share/man/man3/bind_textdomain_codeset.3 +72 -0
  835. data/vendor/local/share/man/man3/bindtextdomain.3 +69 -0
  836. data/vendor/local/share/man/man3/dcgettext.3 +1 -0
  837. data/vendor/local/share/man/man3/dcngettext.3 +1 -0
  838. data/vendor/local/share/man/man3/dgettext.3 +1 -0
  839. data/vendor/local/share/man/man3/dngettext.3 +1 -0
  840. data/vendor/local/share/man/man3/gettext.3 +99 -0
  841. data/vendor/local/share/man/man3/ngettext.3 +60 -0
  842. data/vendor/local/share/man/man3/textdomain.3 +57 -0
  843. data/vendor/local/src/tml/packaging/atk_1.30.0-2_win32.log +739 -0
  844. data/vendor/local/src/tml/packaging/atk_1.30.0-2_win32.sh +51 -0
  845. data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.log +10423 -0
  846. data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.sh +457 -0
  847. data/vendor/local/src/tml/packaging/glib_2.24.2-2_win32.log +2602 -0
  848. data/vendor/local/src/tml/packaging/glib_2.24.2-2_win32.sh +290 -0
  849. metadata +929 -0
@@ -0,0 +1,1810 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>File Utilities</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
+ <link rel="home" href="index.html" title="GLib Reference Manual">
8
+ <link rel="up" href="glib-utilities.html" title="GLib Utilities">
9
+ <link rel="prev" href="glib-Spawning-Processes.html" title="Spawning Processes">
10
+ <link rel="next" href="glib-URI-Functions.html" title="URI Functions">
11
+ <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
14
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
+ <tr valign="middle">
17
+ <td><a accesskey="p" href="glib-Spawning-Processes.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
+ <td><a accesskey="u" href="glib-utilities.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
+ <th width="100%" align="center">GLib Reference Manual</th>
21
+ <td><a accesskey="n" href="glib-URI-Functions.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
+ </tr>
23
+ <tr><td colspan="5" class="shortcuts">
24
+ <a href="#glib-File-Utilities.synopsis" class="shortcut">Top</a>
25
+  | 
26
+ <a href="#glib-File-Utilities.description" class="shortcut">Description</a>
27
+ </td></tr>
28
+ </table>
29
+ <div class="refentry" title="File Utilities">
30
+ <a name="glib-File-Utilities"></a><div class="titlepage"></div>
31
+ <div class="refnamediv"><table width="100%"><tr>
32
+ <td valign="top">
33
+ <h2><span class="refentrytitle"><a name="glib-File-Utilities.top_of_page"></a>File Utilities</span></h2>
34
+ <p>File Utilities — various file-related functions</p>
35
+ </td>
36
+ <td valign="top" align="right"></td>
37
+ </tr></table></div>
38
+ <div class="refsynopsisdiv" title="Synopsis">
39
+ <a name="glib-File-Utilities.synopsis"></a><h2>Synopsis</h2>
40
+ <pre class="synopsis">
41
+ #include &lt;glib.h&gt;
42
+ #include &lt;glib/gstdio.h&gt;
43
+
44
+ enum <a class="link" href="glib-File-Utilities.html#GFileError" title="enum GFileError">GFileError</a>;
45
+ #define <a class="link" href="glib-File-Utilities.html#G-FILE-ERROR:CAPS" title="G_FILE_ERROR">G_FILE_ERROR</a>
46
+ enum <a class="link" href="glib-File-Utilities.html#GFileTest" title="enum GFileTest">GFileTest</a>;
47
+ <a class="link" href="glib-File-Utilities.html#GFileError" title="enum GFileError"><span class="returnvalue">GFileError</span></a> <a class="link" href="glib-File-Utilities.html#g-file-error-from-errno" title="g_file_error_from_errno ()">g_file_error_from_errno</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> err_no</code></em>);
48
+ <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-File-Utilities.html#g-file-get-contents" title="g_file_get_contents ()">g_file_get_contents</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
49
+ <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **contents</code></em>,
50
+ <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
51
+ <em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
52
+ <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-File-Utilities.html#g-file-set-contents" title="g_file_set_contents ()">g_file_set_contents</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
53
+ <em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *contents</code></em>,
54
+ <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> length</code></em>,
55
+ <em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
56
+ <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-File-Utilities.html#g-file-test" title="g_file_test ()">g_file_test</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
57
+ <em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GFileTest" title="enum GFileTest"><span class="type">GFileTest</span></a> test</code></em>);
58
+ <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-File-Utilities.html#g-mkstemp" title="g_mkstemp ()">g_mkstemp</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *tmpl</code></em>);
59
+ <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-File-Utilities.html#g-mkstemp-full" title="g_mkstemp_full ()">g_mkstemp_full</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *tmpl</code></em>,
60
+ <em class="parameter"><code><span class="type">int</span> flags</code></em>,
61
+ <em class="parameter"><code><span class="type">int</span> mode</code></em>);
62
+ <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-File-Utilities.html#g-file-open-tmp" title="g_file_open_tmp ()">g_file_open_tmp</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *tmpl</code></em>,
63
+ <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **name_used</code></em>,
64
+ <em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
65
+ <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-File-Utilities.html#g-file-read-link" title="g_file_read_link ()">g_file_read_link</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
66
+ <em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
67
+ <span class="returnvalue">int</span> <a class="link" href="glib-File-Utilities.html#g-mkdir-with-parents" title="g_mkdir_with_parents ()">g_mkdir_with_parents</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *pathname</code></em>,
68
+ <em class="parameter"><code><span class="type">int</span> mode</code></em>);
69
+
70
+ <a class="link" href="glib-File-Utilities.html#GDir" title="GDir">GDir</a>;
71
+ <a class="link" href="glib-File-Utilities.html#GDir" title="GDir"><span class="returnvalue">GDir</span></a> * <a class="link" href="glib-File-Utilities.html#g-dir-open" title="g_dir_open ()">g_dir_open</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *path</code></em>,
72
+ <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> flags</code></em>,
73
+ <em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
74
+ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-File-Utilities.html#g-dir-read-name" title="g_dir_read_name ()">g_dir_read_name</a> (<em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GDir" title="GDir"><span class="type">GDir</span></a> *dir</code></em>);
75
+ <span class="returnvalue">void</span> <a class="link" href="glib-File-Utilities.html#g-dir-rewind" title="g_dir_rewind ()">g_dir_rewind</a> (<em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GDir" title="GDir"><span class="type">GDir</span></a> *dir</code></em>);
76
+ <span class="returnvalue">void</span> <a class="link" href="glib-File-Utilities.html#g-dir-close" title="g_dir_close ()">g_dir_close</a> (<em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GDir" title="GDir"><span class="type">GDir</span></a> *dir</code></em>);
77
+
78
+ <a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile">GMappedFile</a>;
79
+ <a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="returnvalue">GMappedFile</span></a> * <a class="link" href="glib-File-Utilities.html#g-mapped-file-new" title="g_mapped_file_new ()">g_mapped_file_new</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
80
+ <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> writable</code></em>,
81
+ <em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
82
+ <a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="returnvalue">GMappedFile</span></a> * <a class="link" href="glib-File-Utilities.html#g-mapped-file-ref" title="g_mapped_file_ref ()">g_mapped_file_ref</a> (<em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="type">GMappedFile</span></a> *file</code></em>);
83
+ <span class="returnvalue">void</span> <a class="link" href="glib-File-Utilities.html#g-mapped-file-unref" title="g_mapped_file_unref ()">g_mapped_file_unref</a> (<em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="type">GMappedFile</span></a> *file</code></em>);
84
+ <span class="returnvalue">void</span> <a class="link" href="glib-File-Utilities.html#g-mapped-file-free" title="g_mapped_file_free ()">g_mapped_file_free</a> (<em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="type">GMappedFile</span></a> *file</code></em>);
85
+ <a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> <a class="link" href="glib-File-Utilities.html#g-mapped-file-get-length" title="g_mapped_file_get_length ()">g_mapped_file_get_length</a> (<em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="type">GMappedFile</span></a> *file</code></em>);
86
+ <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-File-Utilities.html#g-mapped-file-get-contents" title="g_mapped_file_get_contents ()">g_mapped_file_get_contents</a> (<em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="type">GMappedFile</span></a> *file</code></em>);
87
+
88
+ <span class="returnvalue">int</span> <a class="link" href="glib-File-Utilities.html#g-open" title="g_open ()">g_open</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
89
+ <em class="parameter"><code><span class="type">int</span> flags</code></em>,
90
+ <em class="parameter"><code><span class="type">int</span> mode</code></em>);
91
+ <span class="returnvalue">int</span> <a class="link" href="glib-File-Utilities.html#g-rename" title="g_rename ()">g_rename</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *oldfilename</code></em>,
92
+ <em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *newfilename</code></em>);
93
+ <span class="returnvalue">int</span> <a class="link" href="glib-File-Utilities.html#g-mkdir" title="g_mkdir ()">g_mkdir</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
94
+ <em class="parameter"><code><span class="type">int</span> mode</code></em>);
95
+ <span class="returnvalue">int</span> <a class="link" href="glib-File-Utilities.html#g-stat" title="g_stat ()">g_stat</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
96
+ <em class="parameter"><code><span class="type">struct _g_stat_struct</span> *buf</code></em>);
97
+ <span class="returnvalue">int</span> <a class="link" href="glib-File-Utilities.html#g-lstat" title="g_lstat ()">g_lstat</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
98
+ <em class="parameter"><code><span class="type">struct _g_stat_struct</span> *buf</code></em>);
99
+ <span class="returnvalue">int</span> <a class="link" href="glib-File-Utilities.html#g-unlink" title="g_unlink ()">g_unlink</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>);
100
+ <span class="returnvalue">int</span> <a class="link" href="glib-File-Utilities.html#g-remove" title="g_remove ()">g_remove</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>);
101
+ <span class="returnvalue">int</span> <a class="link" href="glib-File-Utilities.html#g-rmdir" title="g_rmdir ()">g_rmdir</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>);
102
+ <span class="returnvalue">FILE</span> * <a class="link" href="glib-File-Utilities.html#g-fopen" title="g_fopen ()">g_fopen</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
103
+ <em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *mode</code></em>);
104
+ <span class="returnvalue">FILE</span> * <a class="link" href="glib-File-Utilities.html#g-freopen" title="g_freopen ()">g_freopen</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
105
+ <em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *mode</code></em>,
106
+ <em class="parameter"><code><span class="type">FILE</span> *stream</code></em>);
107
+ <span class="returnvalue">int</span> <a class="link" href="glib-File-Utilities.html#g-chmod" title="g_chmod ()">g_chmod</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
108
+ <em class="parameter"><code><span class="type">int</span> mode</code></em>);
109
+ <span class="returnvalue">int</span> <a class="link" href="glib-File-Utilities.html#g-access" title="g_access ()">g_access</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
110
+ <em class="parameter"><code><span class="type">int</span> mode</code></em>);
111
+ <span class="returnvalue">int</span> <a class="link" href="glib-File-Utilities.html#g-creat" title="g_creat ()">g_creat</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
112
+ <em class="parameter"><code><span class="type">int</span> mode</code></em>);
113
+ <span class="returnvalue">int</span> <a class="link" href="glib-File-Utilities.html#g-chdir" title="g_chdir ()">g_chdir</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *path</code></em>);
114
+ <span class="returnvalue">int</span> <a class="link" href="glib-File-Utilities.html#g-utime" title="g_utime ()">g_utime</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
115
+ <em class="parameter"><code><span class="type">struct utimbuf</span> *utb</code></em>);
116
+ </pre>
117
+ </div>
118
+ <div class="refsect1" title="Description">
119
+ <a name="glib-File-Utilities.description"></a><h2>Description</h2>
120
+ <p>
121
+ There is a group of functions which wrap the common POSIX functions
122
+ dealing with filenames (<a class="link" href="glib-File-Utilities.html#g-open" title="g_open ()"><code class="function">g_open()</code></a>, <a class="link" href="glib-File-Utilities.html#g-rename" title="g_rename ()"><code class="function">g_rename()</code></a>, <a class="link" href="glib-File-Utilities.html#g-mkdir" title="g_mkdir ()"><code class="function">g_mkdir()</code></a>, <a class="link" href="glib-File-Utilities.html#g-stat" title="g_stat ()"><code class="function">g_stat()</code></a>,
123
+ <a class="link" href="glib-File-Utilities.html#g-unlink" title="g_unlink ()"><code class="function">g_unlink()</code></a>, <a class="link" href="glib-File-Utilities.html#g-remove" title="g_remove ()"><code class="function">g_remove()</code></a>, <a class="link" href="glib-File-Utilities.html#g-fopen" title="g_fopen ()"><code class="function">g_fopen()</code></a>, <a class="link" href="glib-File-Utilities.html#g-freopen" title="g_freopen ()"><code class="function">g_freopen()</code></a>). The point of these
124
+ wrappers is to make it possible to handle file names with any Unicode
125
+ characters in them on Windows without having to use ifdefs and the
126
+ wide character API in the application code.
127
+ </p>
128
+ <p>
129
+ The pathname argument should be in the GLib file name encoding. On
130
+ POSIX this is the actual on-disk encoding which might correspond to
131
+ the locale settings of the process (or the
132
+ <code class="envar">G_FILENAME_ENCODING</code> environment variable), or not.
133
+ </p>
134
+ <p>
135
+ On Windows the GLib file name encoding is UTF-8. Note that the
136
+ Microsoft C library does not use UTF-8, but has separate APIs for
137
+ current system code page and wide characters (UTF-16). The GLib
138
+ wrappers call the wide character API if present (on modern Windows
139
+ systems), otherwise convert to/from the system code page.
140
+ </p>
141
+ <p>
142
+ Another group of functions allows to open and read directories
143
+ in the GLib file name encoding. These are <a class="link" href="glib-File-Utilities.html#g-dir-open" title="g_dir_open ()"><code class="function">g_dir_open()</code></a>,
144
+ <a class="link" href="glib-File-Utilities.html#g-dir-read-name" title="g_dir_read_name ()"><code class="function">g_dir_read_name()</code></a>, <a class="link" href="glib-File-Utilities.html#g-dir-rewind" title="g_dir_rewind ()"><code class="function">g_dir_rewind()</code></a>, <a class="link" href="glib-File-Utilities.html#g-dir-close" title="g_dir_close ()"><code class="function">g_dir_close()</code></a>.
145
+ </p>
146
+ </div>
147
+ <div class="refsect1" title="Details">
148
+ <a name="glib-File-Utilities.details"></a><h2>Details</h2>
149
+ <div class="refsect2" title="enum GFileError">
150
+ <a name="GFileError"></a><h3>enum GFileError</h3>
151
+ <pre class="programlisting">typedef enum
152
+ {
153
+ G_FILE_ERROR_EXIST,
154
+ G_FILE_ERROR_ISDIR,
155
+ G_FILE_ERROR_ACCES,
156
+ G_FILE_ERROR_NAMETOOLONG,
157
+ G_FILE_ERROR_NOENT,
158
+ G_FILE_ERROR_NOTDIR,
159
+ G_FILE_ERROR_NXIO,
160
+ G_FILE_ERROR_NODEV,
161
+ G_FILE_ERROR_ROFS,
162
+ G_FILE_ERROR_TXTBSY,
163
+ G_FILE_ERROR_FAULT,
164
+ G_FILE_ERROR_LOOP,
165
+ G_FILE_ERROR_NOSPC,
166
+ G_FILE_ERROR_NOMEM,
167
+ G_FILE_ERROR_MFILE,
168
+ G_FILE_ERROR_NFILE,
169
+ G_FILE_ERROR_BADF,
170
+ G_FILE_ERROR_INVAL,
171
+ G_FILE_ERROR_PIPE,
172
+ G_FILE_ERROR_AGAIN,
173
+ G_FILE_ERROR_INTR,
174
+ G_FILE_ERROR_IO,
175
+ G_FILE_ERROR_PERM,
176
+ G_FILE_ERROR_NOSYS,
177
+ G_FILE_ERROR_FAILED
178
+ } GFileError;
179
+ </pre>
180
+ <p>
181
+ Values corresponding to <code class="literal">errno</code> codes returned from file operations
182
+ on UNIX. Unlike <code class="literal">errno</code> codes, <a class="link" href="glib-File-Utilities.html#GFileError" title="enum GFileError"><span class="type">GFileError</span></a> values are available on
183
+ all systems, even Windows. The exact meaning of each code depends on what
184
+ sort of file operation you were performing; the UNIX documentation
185
+ gives more details. The following error code descriptions come
186
+ from the GNU C Library manual, and are under the copyright
187
+ of that manual.
188
+ </p>
189
+ <p>
190
+ It's not very portable to make detailed assumptions about exactly
191
+ which errors will be returned from a given operation. Some errors
192
+ don't occur on some systems, etc., sometimes there are subtle
193
+ differences in when a system will report a given error, etc.
194
+ </p>
195
+ <div class="variablelist"><table border="0">
196
+ <col align="left" valign="top">
197
+ <tbody>
198
+ <tr>
199
+ <td><p><a name="G-FILE-ERROR-EXIST:CAPS"></a><span class="term"><code class="literal">G_FILE_ERROR_EXIST</code></span></p></td>
200
+ <td>Operation not permitted; only the owner of the
201
+ file (or other resource) or processes with special privileges can
202
+ perform the operation.
203
+ </td>
204
+ </tr>
205
+ <tr>
206
+ <td><p><a name="G-FILE-ERROR-ISDIR:CAPS"></a><span class="term"><code class="literal">G_FILE_ERROR_ISDIR</code></span></p></td>
207
+ <td>File is a directory; you cannot open a directory
208
+ for writing, or create or remove hard links to it.
209
+ </td>
210
+ </tr>
211
+ <tr>
212
+ <td><p><a name="G-FILE-ERROR-ACCES:CAPS"></a><span class="term"><code class="literal">G_FILE_ERROR_ACCES</code></span></p></td>
213
+ <td>Permission denied; the file permissions do not
214
+ allow the attempted operation.
215
+ </td>
216
+ </tr>
217
+ <tr>
218
+ <td><p><a name="G-FILE-ERROR-NAMETOOLONG:CAPS"></a><span class="term"><code class="literal">G_FILE_ERROR_NAMETOOLONG</code></span></p></td>
219
+ <td>Filename too long.
220
+ </td>
221
+ </tr>
222
+ <tr>
223
+ <td><p><a name="G-FILE-ERROR-NOENT:CAPS"></a><span class="term"><code class="literal">G_FILE_ERROR_NOENT</code></span></p></td>
224
+ <td>No such file or directory. This is a "file
225
+ doesn't exist" error for ordinary files that are referenced in
226
+ contexts where they are expected to already exist.
227
+ </td>
228
+ </tr>
229
+ <tr>
230
+ <td><p><a name="G-FILE-ERROR-NOTDIR:CAPS"></a><span class="term"><code class="literal">G_FILE_ERROR_NOTDIR</code></span></p></td>
231
+ <td>A file that isn't a directory was specified when
232
+ a directory is required.
233
+ </td>
234
+ </tr>
235
+ <tr>
236
+ <td><p><a name="G-FILE-ERROR-NXIO:CAPS"></a><span class="term"><code class="literal">G_FILE_ERROR_NXIO</code></span></p></td>
237
+ <td>No such device or address. The system tried to
238
+ use the device represented by a file you specified, and it
239
+ couldn't find the device. This can mean that the device file was
240
+ installed incorrectly, or that the physical device is missing or
241
+ not correctly attached to the computer.
242
+ </td>
243
+ </tr>
244
+ <tr>
245
+ <td><p><a name="G-FILE-ERROR-NODEV:CAPS"></a><span class="term"><code class="literal">G_FILE_ERROR_NODEV</code></span></p></td>
246
+ <td>This file is of a type that doesn't support
247
+ mapping.
248
+ </td>
249
+ </tr>
250
+ <tr>
251
+ <td><p><a name="G-FILE-ERROR-ROFS:CAPS"></a><span class="term"><code class="literal">G_FILE_ERROR_ROFS</code></span></p></td>
252
+ <td>The directory containing the new link can't be
253
+ modified because it's on a read-only file system.
254
+ </td>
255
+ </tr>
256
+ <tr>
257
+ <td><p><a name="G-FILE-ERROR-TXTBSY:CAPS"></a><span class="term"><code class="literal">G_FILE_ERROR_TXTBSY</code></span></p></td>
258
+ <td>Text file busy.
259
+ </td>
260
+ </tr>
261
+ <tr>
262
+ <td><p><a name="G-FILE-ERROR-FAULT:CAPS"></a><span class="term"><code class="literal">G_FILE_ERROR_FAULT</code></span></p></td>
263
+ <td>You passed in a pointer to bad memory.
264
+ (GLib won't reliably return this, don't pass in pointers to bad
265
+ memory.)
266
+ </td>
267
+ </tr>
268
+ <tr>
269
+ <td><p><a name="G-FILE-ERROR-LOOP:CAPS"></a><span class="term"><code class="literal">G_FILE_ERROR_LOOP</code></span></p></td>
270
+ <td>Too many levels of symbolic links were encountered
271
+ in looking up a file name. This often indicates a cycle of symbolic
272
+ links.
273
+ </td>
274
+ </tr>
275
+ <tr>
276
+ <td><p><a name="G-FILE-ERROR-NOSPC:CAPS"></a><span class="term"><code class="literal">G_FILE_ERROR_NOSPC</code></span></p></td>
277
+ <td>No space left on device; write operation on a
278
+ file failed because the disk is full.
279
+ </td>
280
+ </tr>
281
+ <tr>
282
+ <td><p><a name="G-FILE-ERROR-NOMEM:CAPS"></a><span class="term"><code class="literal">G_FILE_ERROR_NOMEM</code></span></p></td>
283
+ <td>No memory available. The system cannot allocate
284
+ more virtual memory because its capacity is full.
285
+ </td>
286
+ </tr>
287
+ <tr>
288
+ <td><p><a name="G-FILE-ERROR-MFILE:CAPS"></a><span class="term"><code class="literal">G_FILE_ERROR_MFILE</code></span></p></td>
289
+ <td>The current process has too many files open and
290
+ can't open any more. Duplicate descriptors do count toward this
291
+ limit.
292
+ </td>
293
+ </tr>
294
+ <tr>
295
+ <td><p><a name="G-FILE-ERROR-NFILE:CAPS"></a><span class="term"><code class="literal">G_FILE_ERROR_NFILE</code></span></p></td>
296
+ <td>There are too many distinct file openings in the
297
+ entire system.
298
+ </td>
299
+ </tr>
300
+ <tr>
301
+ <td><p><a name="G-FILE-ERROR-BADF:CAPS"></a><span class="term"><code class="literal">G_FILE_ERROR_BADF</code></span></p></td>
302
+ <td>Bad file descriptor; for example, I/O on a
303
+ descriptor that has been closed or reading from a descriptor open
304
+ only for writing (or vice versa).
305
+ </td>
306
+ </tr>
307
+ <tr>
308
+ <td><p><a name="G-FILE-ERROR-INVAL:CAPS"></a><span class="term"><code class="literal">G_FILE_ERROR_INVAL</code></span></p></td>
309
+ <td>Invalid argument. This is used to indicate
310
+ various kinds of problems with passing the wrong argument to a
311
+ library function.
312
+ </td>
313
+ </tr>
314
+ <tr>
315
+ <td><p><a name="G-FILE-ERROR-PIPE:CAPS"></a><span class="term"><code class="literal">G_FILE_ERROR_PIPE</code></span></p></td>
316
+ <td>Broken pipe; there is no process reading from the
317
+ other end of a pipe. Every library function that returns this
318
+ error code also generates a `SIGPIPE' signal; this signal
319
+ terminates the program if not handled or blocked. Thus, your
320
+ program will never actually see this code unless it has handled or
321
+ blocked `SIGPIPE'.
322
+ </td>
323
+ </tr>
324
+ <tr>
325
+ <td><p><a name="G-FILE-ERROR-AGAIN:CAPS"></a><span class="term"><code class="literal">G_FILE_ERROR_AGAIN</code></span></p></td>
326
+ <td>Resource temporarily unavailable; the call might
327
+ work if you try again later.
328
+ </td>
329
+ </tr>
330
+ <tr>
331
+ <td><p><a name="G-FILE-ERROR-INTR:CAPS"></a><span class="term"><code class="literal">G_FILE_ERROR_INTR</code></span></p></td>
332
+ <td>Interrupted function call; an asynchronous signal
333
+ occurred and prevented completion of the call. When this
334
+ happens, you should try the call again.
335
+ </td>
336
+ </tr>
337
+ <tr>
338
+ <td><p><a name="G-FILE-ERROR-IO:CAPS"></a><span class="term"><code class="literal">G_FILE_ERROR_IO</code></span></p></td>
339
+ <td>Input/output error; usually used for physical read
340
+ or write errors. i.e. the disk or other physical device hardware
341
+ is returning errors.
342
+ </td>
343
+ </tr>
344
+ <tr>
345
+ <td><p><a name="G-FILE-ERROR-PERM:CAPS"></a><span class="term"><code class="literal">G_FILE_ERROR_PERM</code></span></p></td>
346
+ <td>Operation not permitted; only the owner of the
347
+ file (or other resource) or processes with special privileges can
348
+ perform the operation.
349
+ </td>
350
+ </tr>
351
+ <tr>
352
+ <td><p><a name="G-FILE-ERROR-NOSYS:CAPS"></a><span class="term"><code class="literal">G_FILE_ERROR_NOSYS</code></span></p></td>
353
+ <td>Function not implemented; this indicates that the
354
+ system is missing some functionality.
355
+ </td>
356
+ </tr>
357
+ <tr>
358
+ <td><p><a name="G-FILE-ERROR-FAILED:CAPS"></a><span class="term"><code class="literal">G_FILE_ERROR_FAILED</code></span></p></td>
359
+ <td>Does not correspond to a UNIX error code; this
360
+ is the standard "failed for unspecified reason" error code present in
361
+ all <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> error code enumerations. Returned if no specific
362
+ code applies.
363
+ </td>
364
+ </tr>
365
+ </tbody>
366
+ </table></div>
367
+ </div>
368
+ <hr>
369
+ <div class="refsect2" title="G_FILE_ERROR">
370
+ <a name="G-FILE-ERROR:CAPS"></a><h3>G_FILE_ERROR</h3>
371
+ <pre class="programlisting">#define G_FILE_ERROR g_file_error_quark ()
372
+ </pre>
373
+ <p>
374
+ Error domain for file operations. Errors in this domain will
375
+ be from the <a class="link" href="glib-File-Utilities.html#GFileError" title="enum GFileError"><span class="type">GFileError</span></a> enumeration. See <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> for information on
376
+ error domains.
377
+ </p>
378
+ </div>
379
+ <hr>
380
+ <div class="refsect2" title="enum GFileTest">
381
+ <a name="GFileTest"></a><h3>enum GFileTest</h3>
382
+ <pre class="programlisting">typedef enum
383
+ {
384
+ G_FILE_TEST_IS_REGULAR = 1 &lt;&lt; 0,
385
+ G_FILE_TEST_IS_SYMLINK = 1 &lt;&lt; 1,
386
+ G_FILE_TEST_IS_DIR = 1 &lt;&lt; 2,
387
+ G_FILE_TEST_IS_EXECUTABLE = 1 &lt;&lt; 3,
388
+ G_FILE_TEST_EXISTS = 1 &lt;&lt; 4
389
+ } GFileTest;
390
+ </pre>
391
+ <p>
392
+ A test to perform on a file using <a class="link" href="glib-File-Utilities.html#g-file-test" title="g_file_test ()"><code class="function">g_file_test()</code></a>.
393
+ </p>
394
+ <div class="variablelist"><table border="0">
395
+ <col align="left" valign="top">
396
+ <tbody>
397
+ <tr>
398
+ <td><p><a name="G-FILE-TEST-IS-REGULAR:CAPS"></a><span class="term"><code class="literal">G_FILE_TEST_IS_REGULAR</code></span></p></td>
399
+ <td>
400
+ <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the file is a regular file (not a directory).
401
+ Note that this test will also return <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the tested file is a symlink
402
+ to a regular file.
403
+ </td>
404
+ </tr>
405
+ <tr>
406
+ <td><p><a name="G-FILE-TEST-IS-SYMLINK:CAPS"></a><span class="term"><code class="literal">G_FILE_TEST_IS_SYMLINK</code></span></p></td>
407
+ <td>
408
+ <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the file is a symlink.
409
+ </td>
410
+ </tr>
411
+ <tr>
412
+ <td><p><a name="G-FILE-TEST-IS-DIR:CAPS"></a><span class="term"><code class="literal">G_FILE_TEST_IS_DIR</code></span></p></td>
413
+ <td>
414
+ <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the file is a directory.
415
+ </td>
416
+ </tr>
417
+ <tr>
418
+ <td><p><a name="G-FILE-TEST-IS-EXECUTABLE:CAPS"></a><span class="term"><code class="literal">G_FILE_TEST_IS_EXECUTABLE</code></span></p></td>
419
+ <td>
420
+ <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the file is executable.
421
+ </td>
422
+ </tr>
423
+ <tr>
424
+ <td><p><a name="G-FILE-TEST-EXISTS:CAPS"></a><span class="term"><code class="literal">G_FILE_TEST_EXISTS</code></span></p></td>
425
+ <td>
426
+ <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the file exists.
427
+ It may or may not be a regular file.
428
+ </td>
429
+ </tr>
430
+ </tbody>
431
+ </table></div>
432
+ </div>
433
+ <hr>
434
+ <div class="refsect2" title="g_file_error_from_errno ()">
435
+ <a name="g-file-error-from-errno"></a><h3>g_file_error_from_errno ()</h3>
436
+ <pre class="programlisting"><a class="link" href="glib-File-Utilities.html#GFileError" title="enum GFileError"><span class="returnvalue">GFileError</span></a> g_file_error_from_errno (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> err_no</code></em>);</pre>
437
+ <p>
438
+ Gets a <a class="link" href="glib-File-Utilities.html#GFileError" title="enum GFileError"><span class="type">GFileError</span></a> constant based on the passed-in <em class="parameter"><code>errno</code></em>.
439
+ For example, if you pass in <code class="literal">EEXIST</code> this function returns
440
+ <a class="link" href="glib-File-Utilities.html#G-FILE-ERROR-EXIST:CAPS"><span class="type">G_FILE_ERROR_EXIST</span></a>. Unlike <em class="parameter"><code>errno</code></em> values, you can portably
441
+ assume that all <a class="link" href="glib-File-Utilities.html#GFileError" title="enum GFileError"><span class="type">GFileError</span></a> values will exist.
442
+ </p>
443
+ <p>
444
+ Normally a <a class="link" href="glib-File-Utilities.html#GFileError" title="enum GFileError"><span class="type">GFileError</span></a> value goes into a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> returned
445
+ from a function that manipulates files. So you would use
446
+ <a class="link" href="glib-File-Utilities.html#g-file-error-from-errno" title="g_file_error_from_errno ()"><code class="function">g_file_error_from_errno()</code></a> when constructing a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>.
447
+ </p>
448
+ <div class="variablelist"><table border="0">
449
+ <col align="left" valign="top">
450
+ <tbody>
451
+ <tr>
452
+ <td><p><span class="term"><em class="parameter"><code>err_no</code></em> :</span></p></td>
453
+ <td>an "errno" value
454
+ </td>
455
+ </tr>
456
+ <tr>
457
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
458
+ <td> <a class="link" href="glib-File-Utilities.html#GFileError" title="enum GFileError"><span class="type">GFileError</span></a> corresponding to the given <em class="parameter"><code>errno</code></em>
459
+ </td>
460
+ </tr>
461
+ </tbody>
462
+ </table></div>
463
+ </div>
464
+ <hr>
465
+ <div class="refsect2" title="g_file_get_contents ()">
466
+ <a name="g-file-get-contents"></a><h3>g_file_get_contents ()</h3>
467
+ <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_file_get_contents (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
468
+ <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **contents</code></em>,
469
+ <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
470
+ <em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
471
+ <p>
472
+ Reads an entire file into allocated memory, with good error
473
+ checking.
474
+ </p>
475
+ <p>
476
+ If the call was successful, it returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> and sets <em class="parameter"><code>contents</code></em> to the file
477
+ contents and <em class="parameter"><code>length</code></em> to the length of the file contents in bytes. The string
478
+ stored in <em class="parameter"><code>contents</code></em> will be nul-terminated, so for text files you can pass
479
+ <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> for the <em class="parameter"><code>length</code></em> argument. If the call was not successful, it returns
480
+ <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> and sets <em class="parameter"><code>error</code></em>. The error domain is <a class="link" href="glib-File-Utilities.html#G-FILE-ERROR:CAPS" title="G_FILE_ERROR"><span class="type">G_FILE_ERROR</span></a>. Possible error
481
+ codes are those in the <a class="link" href="glib-File-Utilities.html#GFileError" title="enum GFileError"><span class="type">GFileError</span></a> enumeration. In the error case,
482
+ <em class="parameter"><code>contents</code></em> is set to <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> and <em class="parameter"><code>length</code></em> is set to zero.
483
+ </p>
484
+ <div class="variablelist"><table border="0">
485
+ <col align="left" valign="top">
486
+ <tbody>
487
+ <tr>
488
+ <td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
489
+ <td>name of a file to read contents from, in the GLib file name encoding
490
+ </td>
491
+ </tr>
492
+ <tr>
493
+ <td><p><span class="term"><em class="parameter"><code>contents</code></em> :</span></p></td>
494
+ <td>location to store an allocated string, use <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a> to free
495
+ the returned string
496
+ </td>
497
+ </tr>
498
+ <tr>
499
+ <td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
500
+ <td>location to store length in bytes of the contents, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
501
+ </td>
502
+ </tr>
503
+ <tr>
504
+ <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
505
+ <td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
506
+ </td>
507
+ </tr>
508
+ <tr>
509
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
510
+ <td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> on success, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> if an error occurred
511
+ </td>
512
+ </tr>
513
+ </tbody>
514
+ </table></div>
515
+ </div>
516
+ <hr>
517
+ <div class="refsect2" title="g_file_set_contents ()">
518
+ <a name="g-file-set-contents"></a><h3>g_file_set_contents ()</h3>
519
+ <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_file_set_contents (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
520
+ <em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *contents</code></em>,
521
+ <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> length</code></em>,
522
+ <em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
523
+ <p>
524
+ Writes all of <em class="parameter"><code>contents</code></em> to a file named <em class="parameter"><code>filename</code></em>, with good error checking.
525
+ If a file called <em class="parameter"><code>filename</code></em> already exists it will be overwritten.
526
+ </p>
527
+ <p>
528
+ This write is atomic in the sense that it is first written to a temporary
529
+ file which is then renamed to the final name. Notes:
530
+ </p>
531
+ <div class="itemizedlist"><ul class="itemizedlist" type="disc">
532
+ <li class="listitem">
533
+ On Unix, if <em class="parameter"><code>filename</code></em> already exists hard links to <em class="parameter"><code>filename</code></em> will break.
534
+ Also since the file is recreated, existing permissions, access control
535
+ lists, metadata etc. may be lost. If <em class="parameter"><code>filename</code></em> is a symbolic link,
536
+ the link itself will be replaced, not the linked file.
537
+ </li>
538
+ <li class="listitem">
539
+ On Windows renaming a file will not remove an existing file with the
540
+ new name, so on Windows there is a race condition between the existing
541
+ file being removed and the temporary file being renamed.
542
+ </li>
543
+ <li class="listitem">
544
+ On Windows there is no way to remove a file that is open to some
545
+ process, or mapped into memory. Thus, this function will fail if
546
+ <em class="parameter"><code>filename</code></em> already exists and is open.
547
+ </li>
548
+ </ul></div>
549
+ <p>
550
+ </p>
551
+ <p>
552
+ If the call was sucessful, it returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>. If the call was not successful,
553
+ it returns <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> and sets <em class="parameter"><code>error</code></em>. The error domain is <a class="link" href="glib-File-Utilities.html#G-FILE-ERROR:CAPS" title="G_FILE_ERROR"><span class="type">G_FILE_ERROR</span></a>.
554
+ Possible error codes are those in the <a class="link" href="glib-File-Utilities.html#GFileError" title="enum GFileError"><span class="type">GFileError</span></a> enumeration.
555
+ </p>
556
+ <div class="variablelist"><table border="0">
557
+ <col align="left" valign="top">
558
+ <tbody>
559
+ <tr>
560
+ <td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
561
+ <td>name of a file to write <em class="parameter"><code>contents</code></em> to, in the GLib file name
562
+ encoding
563
+ </td>
564
+ </tr>
565
+ <tr>
566
+ <td><p><span class="term"><em class="parameter"><code>contents</code></em> :</span></p></td>
567
+ <td>string to write to the file
568
+ </td>
569
+ </tr>
570
+ <tr>
571
+ <td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
572
+ <td>length of <em class="parameter"><code>contents</code></em>, or -1 if <em class="parameter"><code>contents</code></em> is a nul-terminated string
573
+ </td>
574
+ </tr>
575
+ <tr>
576
+ <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
577
+ <td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
578
+ </td>
579
+ </tr>
580
+ <tr>
581
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
582
+ <td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> on success, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> if an error occurred
583
+
584
+ </td>
585
+ </tr>
586
+ </tbody>
587
+ </table></div>
588
+ <p class="since">Since 2.8</p>
589
+ </div>
590
+ <hr>
591
+ <div class="refsect2" title="g_file_test ()">
592
+ <a name="g-file-test"></a><h3>g_file_test ()</h3>
593
+ <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_file_test (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
594
+ <em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GFileTest" title="enum GFileTest"><span class="type">GFileTest</span></a> test</code></em>);</pre>
595
+ <p>
596
+ Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if any of the tests in the bitfield <em class="parameter"><code>test</code></em> are
597
+ <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>. For example, <code class="literal">(G_FILE_TEST_EXISTS |
598
+ G_FILE_TEST_IS_DIR)</code> will return <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the file exists;
599
+ the check whether it's a directory doesn't matter since the existence
600
+ test is <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>. With the current set of available tests, there's no point
601
+ passing in more than one test at a time.
602
+ </p>
603
+ <p>
604
+ Apart from <a class="link" href="glib-File-Utilities.html#G-FILE-TEST-IS-SYMLINK:CAPS"><code class="literal">G_FILE_TEST_IS_SYMLINK</code></a> all tests follow symbolic links,
605
+ so for a symbolic link to a regular file <a class="link" href="glib-File-Utilities.html#g-file-test" title="g_file_test ()"><code class="function">g_file_test()</code></a> will return
606
+ <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> for both <a class="link" href="glib-File-Utilities.html#G-FILE-TEST-IS-SYMLINK:CAPS"><code class="literal">G_FILE_TEST_IS_SYMLINK</code></a> and <a class="link" href="glib-File-Utilities.html#G-FILE-TEST-IS-REGULAR:CAPS"><code class="literal">G_FILE_TEST_IS_REGULAR</code></a>.
607
+ </p>
608
+ <p>
609
+ Note, that for a dangling symbolic link <a class="link" href="glib-File-Utilities.html#g-file-test" title="g_file_test ()"><code class="function">g_file_test()</code></a> will return
610
+ <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> for <a class="link" href="glib-File-Utilities.html#G-FILE-TEST-IS-SYMLINK:CAPS"><code class="literal">G_FILE_TEST_IS_SYMLINK</code></a> and <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> for all other flags.
611
+ </p>
612
+ <p>
613
+ You should never use <a class="link" href="glib-File-Utilities.html#g-file-test" title="g_file_test ()"><code class="function">g_file_test()</code></a> to test whether it is safe
614
+ to perform an operation, because there is always the possibility
615
+ of the condition changing before you actually perform the operation.
616
+ For example, you might think you could use <a class="link" href="glib-File-Utilities.html#G-FILE-TEST-IS-SYMLINK:CAPS"><code class="literal">G_FILE_TEST_IS_SYMLINK</code></a>
617
+ to know whether it is safe to write to a file without being
618
+ tricked into writing into a different location. It doesn't work!
619
+ </p>
620
+ <div class="informalexample">
621
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
622
+ <tbody>
623
+ <tr>
624
+ <td class="listing_lines" align="right"><pre>1
625
+ 2
626
+ 3
627
+ 4
628
+ 5
629
+ 6</pre></td>
630
+ <td class="listing_code"><pre class="programlisting"><span class="comment">/* DON'T DO THIS */</span>
631
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="function"><a href="glib-File-Utilities.html#g-file-test">g_file_test</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">filename</span><span class="symbol">,</span><span class="normal"> <a href="glib-File-Utilities.html#G-FILE-TEST-IS-SYMLINK:CAPS">G_FILE_TEST_IS_SYMLINK</a></span><span class="symbol">))</span><span class="normal"> </span>
632
+ <span class="normal"> </span><span class="cbracket">{</span>
633
+ <span class="normal"> fd </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-File-Utilities.html#g-open">g_open</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">filename</span><span class="symbol">,</span><span class="normal"> O_WRONLY</span><span class="symbol">);</span>
634
+ <span class="normal"> </span><span class="comment">/* write to fd */</span>
635
+ <span class="normal"> </span><span class="cbracket">}</span></pre></td>
636
+ </tr>
637
+ </tbody>
638
+ </table>
639
+ </div>
640
+
641
+ <p>
642
+ </p>
643
+ <p>
644
+ Another thing to note is that <a class="link" href="glib-File-Utilities.html#G-FILE-TEST-EXISTS:CAPS"><code class="literal">G_FILE_TEST_EXISTS</code></a> and
645
+ <a class="link" href="glib-File-Utilities.html#G-FILE-TEST-IS-EXECUTABLE:CAPS"><code class="literal">G_FILE_TEST_IS_EXECUTABLE</code></a> are implemented using the <code class="function">access()</code>
646
+ system call. This usually doesn't matter, but if your program
647
+ is setuid or setgid it means that these tests will give you
648
+ the answer for the real user ID and group ID, rather than the
649
+ effective user ID and group ID.
650
+ </p>
651
+ <p>
652
+ On Windows, there are no symlinks, so testing for
653
+ <a class="link" href="glib-File-Utilities.html#G-FILE-TEST-IS-SYMLINK:CAPS"><code class="literal">G_FILE_TEST_IS_SYMLINK</code></a> will always return <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>. Testing for
654
+ <a class="link" href="glib-File-Utilities.html#G-FILE-TEST-IS-EXECUTABLE:CAPS"><code class="literal">G_FILE_TEST_IS_EXECUTABLE</code></a> will just check that the file exists and
655
+ its name indicates that it is executable, checking for well-known
656
+ extensions and those listed in the <code class="literal">PATHEXT</code> environment variable.
657
+ </p>
658
+ <div class="variablelist"><table border="0">
659
+ <col align="left" valign="top">
660
+ <tbody>
661
+ <tr>
662
+ <td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
663
+ <td>a filename to test in the GLib file name encoding
664
+ </td>
665
+ </tr>
666
+ <tr>
667
+ <td><p><span class="term"><em class="parameter"><code>test</code></em> :</span></p></td>
668
+ <td>bitfield of <a class="link" href="glib-File-Utilities.html#GFileTest" title="enum GFileTest"><span class="type">GFileTest</span></a> flags
669
+ </td>
670
+ </tr>
671
+ <tr>
672
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
673
+ <td> whether a test was <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>
674
+ </td>
675
+ </tr>
676
+ </tbody>
677
+ </table></div>
678
+ </div>
679
+ <hr>
680
+ <div class="refsect2" title="g_mkstemp ()">
681
+ <a name="g-mkstemp"></a><h3>g_mkstemp ()</h3>
682
+ <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_mkstemp (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *tmpl</code></em>);</pre>
683
+ <p>
684
+ Opens a temporary file. See the <code class="function">mkstemp()</code> documentation
685
+ on most UNIX-like systems.
686
+ </p>
687
+ <p>
688
+ The parameter is a string that should follow the rules for
689
+ <code class="function">mkstemp()</code> templates, i.e. contain the string "XXXXXX".
690
+ <a class="link" href="glib-File-Utilities.html#g-mkstemp" title="g_mkstemp ()"><code class="function">g_mkstemp()</code></a> is slightly more flexible than <code class="function">mkstemp()</code>
691
+ in that the sequence does not have to occur at the very end of the
692
+ template. The X string will
693
+ be modified to form the name of a file that didn't exist.
694
+ The string should be in the GLib file name encoding. Most importantly,
695
+ on Windows it should be in UTF-8.
696
+ </p>
697
+ <div class="variablelist"><table border="0">
698
+ <col align="left" valign="top">
699
+ <tbody>
700
+ <tr>
701
+ <td><p><span class="term"><em class="parameter"><code>tmpl</code></em> :</span></p></td>
702
+ <td>template filename
703
+ </td>
704
+ </tr>
705
+ <tr>
706
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
707
+ <td> A file handle (as from <code class="function">open()</code>) to the file
708
+ opened for reading and writing. The file is opened in binary mode
709
+ on platforms where there is a difference. The file handle should be
710
+ closed with <code class="function">close()</code>. In case of errors, -1 is returned.
711
+ </td>
712
+ </tr>
713
+ </tbody>
714
+ </table></div>
715
+ </div>
716
+ <hr>
717
+ <div class="refsect2" title="g_mkstemp_full ()">
718
+ <a name="g-mkstemp-full"></a><h3>g_mkstemp_full ()</h3>
719
+ <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_mkstemp_full (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *tmpl</code></em>,
720
+ <em class="parameter"><code><span class="type">int</span> flags</code></em>,
721
+ <em class="parameter"><code><span class="type">int</span> mode</code></em>);</pre>
722
+ <p>
723
+ Opens a temporary file. See the <code class="function">mkstemp()</code> documentation
724
+ on most UNIX-like systems.
725
+ </p>
726
+ <p>
727
+ The parameter is a string that should follow the rules for
728
+ <code class="function">mkstemp()</code> templates, i.e. contain the string "XXXXXX".
729
+ <a class="link" href="glib-File-Utilities.html#g-mkstemp-full" title="g_mkstemp_full ()"><code class="function">g_mkstemp_full()</code></a> is slightly more flexible than <code class="function">mkstemp()</code>
730
+ in that the sequence does not have to occur at the very end of the
731
+ template and you can pass a <em class="parameter"><code>mode</code></em> and additional <em class="parameter"><code>flags</code></em>. The X
732
+ string will be modified to form the name of a file that didn't exist.
733
+ The string should be in the GLib file name encoding. Most importantly,
734
+ on Windows it should be in UTF-8.
735
+ </p>
736
+ <div class="variablelist"><table border="0">
737
+ <col align="left" valign="top">
738
+ <tbody>
739
+ <tr>
740
+ <td><p><span class="term"><em class="parameter"><code>tmpl</code></em> :</span></p></td>
741
+ <td>template filename
742
+ </td>
743
+ </tr>
744
+ <tr>
745
+ <td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
746
+ <td>flags to pass to an <code class="function">open()</code> call in addition to O_EXCL and
747
+ O_CREAT, which are passed automatically
748
+ </td>
749
+ </tr>
750
+ <tr>
751
+ <td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
752
+ <td>permissios to create the temporary file with
753
+ </td>
754
+ </tr>
755
+ <tr>
756
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
757
+ <td> A file handle (as from <code class="function">open()</code>) to the file
758
+ opened for reading and writing. The file handle should be
759
+ closed with <code class="function">close()</code>. In case of errors, -1 is returned.
760
+
761
+ </td>
762
+ </tr>
763
+ </tbody>
764
+ </table></div>
765
+ <p class="since">Since 2.22</p>
766
+ </div>
767
+ <hr>
768
+ <div class="refsect2" title="g_file_open_tmp ()">
769
+ <a name="g-file-open-tmp"></a><h3>g_file_open_tmp ()</h3>
770
+ <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_file_open_tmp (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *tmpl</code></em>,
771
+ <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **name_used</code></em>,
772
+ <em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
773
+ <p>
774
+ Opens a file for writing in the preferred directory for temporary
775
+ files (as returned by <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-tmp-dir" title="g_get_tmp_dir ()"><code class="function">g_get_tmp_dir()</code></a>).
776
+ </p>
777
+ <p>
778
+ <em class="parameter"><code>tmpl</code></em> should be a string in the GLib file name encoding containing
779
+ a sequence of six 'X' characters, as the parameter to <a class="link" href="glib-File-Utilities.html#g-mkstemp" title="g_mkstemp ()"><code class="function">g_mkstemp()</code></a>.
780
+ However, unlike these functions, the template should only be a
781
+ basename, no directory components are allowed. If template is
782
+ <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, a default template is used.
783
+ </p>
784
+ <p>
785
+ Note that in contrast to <a class="link" href="glib-File-Utilities.html#g-mkstemp" title="g_mkstemp ()"><code class="function">g_mkstemp()</code></a> (and <code class="function">mkstemp()</code>)
786
+ <em class="parameter"><code>tmpl</code></em> is not modified, and might thus be a read-only literal string.
787
+ </p>
788
+ <p>
789
+ The actual name used is returned in <em class="parameter"><code>name_used</code></em> if non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. This
790
+ string should be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a> when not needed any longer.
791
+ The returned name is in the GLib file name encoding.
792
+ </p>
793
+ <div class="variablelist"><table border="0">
794
+ <col align="left" valign="top">
795
+ <tbody>
796
+ <tr>
797
+ <td><p><span class="term"><em class="parameter"><code>tmpl</code></em> :</span></p></td>
798
+ <td>Template for file name, as in <a class="link" href="glib-File-Utilities.html#g-mkstemp" title="g_mkstemp ()"><code class="function">g_mkstemp()</code></a>, basename only,
799
+ or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, to a default template
800
+ </td>
801
+ </tr>
802
+ <tr>
803
+ <td><p><span class="term"><em class="parameter"><code>name_used</code></em> :</span></p></td>
804
+ <td>location to store actual name used, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
805
+ </td>
806
+ </tr>
807
+ <tr>
808
+ <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
809
+ <td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>
810
+ </td>
811
+ </tr>
812
+ <tr>
813
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
814
+ <td> A file handle (as from <code class="function">open()</code>) to
815
+ the file opened for reading and writing. The file is opened in binary
816
+ mode on platforms where there is a difference. The file handle should be
817
+ closed with <code class="function">close()</code>. In case of errors, -1 is returned
818
+ and <em class="parameter"><code>error</code></em> will be set.
819
+ </td>
820
+ </tr>
821
+ </tbody>
822
+ </table></div>
823
+ </div>
824
+ <hr>
825
+ <div class="refsect2" title="g_file_read_link ()">
826
+ <a name="g-file-read-link"></a><h3>g_file_read_link ()</h3>
827
+ <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_file_read_link (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
828
+ <em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
829
+ <p>
830
+ Reads the contents of the symbolic link <em class="parameter"><code>filename</code></em> like the POSIX
831
+ <code class="function">readlink()</code> function. The returned string is in the encoding used
832
+ for filenames. Use <a class="link" href="glib-Character-Set-Conversion.html#g-filename-to-utf8" title="g_filename_to_utf8 ()"><code class="function">g_filename_to_utf8()</code></a> to convert it to UTF-8.
833
+ </p>
834
+ <div class="variablelist"><table border="0">
835
+ <col align="left" valign="top">
836
+ <tbody>
837
+ <tr>
838
+ <td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
839
+ <td>the symbolic link
840
+ </td>
841
+ </tr>
842
+ <tr>
843
+ <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
844
+ <td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>
845
+ </td>
846
+ </tr>
847
+ <tr>
848
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
849
+ <td> A newly-allocated string with the contents of the symbolic link,
850
+ or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if an error occurred.
851
+
852
+ </td>
853
+ </tr>
854
+ </tbody>
855
+ </table></div>
856
+ <p class="since">Since 2.4</p>
857
+ </div>
858
+ <hr>
859
+ <div class="refsect2" title="g_mkdir_with_parents ()">
860
+ <a name="g-mkdir-with-parents"></a><h3>g_mkdir_with_parents ()</h3>
861
+ <pre class="programlisting"><span class="returnvalue">int</span> g_mkdir_with_parents (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *pathname</code></em>,
862
+ <em class="parameter"><code><span class="type">int</span> mode</code></em>);</pre>
863
+ <p>
864
+ Create a directory if it doesn't already exist. Create intermediate
865
+ parent directories as needed, too.
866
+ </p>
867
+ <div class="variablelist"><table border="0">
868
+ <col align="left" valign="top">
869
+ <tbody>
870
+ <tr>
871
+ <td><p><span class="term"><em class="parameter"><code>pathname</code></em> :</span></p></td>
872
+ <td>a pathname in the GLib file name encoding
873
+ </td>
874
+ </tr>
875
+ <tr>
876
+ <td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
877
+ <td>permissions to use for newly created directories
878
+ </td>
879
+ </tr>
880
+ <tr>
881
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
882
+ <td> 0 if the directory already exists, or was successfully
883
+ created. Returns -1 if an error occurred, with errno set.
884
+
885
+ </td>
886
+ </tr>
887
+ </tbody>
888
+ </table></div>
889
+ <p class="since">Since 2.8</p>
890
+ </div>
891
+ <hr>
892
+ <div class="refsect2" title="GDir">
893
+ <a name="GDir"></a><h3>GDir</h3>
894
+ <pre class="programlisting">typedef struct _GDir GDir;</pre>
895
+ <p>
896
+ An opaque structure representing an opened directory.
897
+ </p>
898
+ </div>
899
+ <hr>
900
+ <div class="refsect2" title="g_dir_open ()">
901
+ <a name="g-dir-open"></a><h3>g_dir_open ()</h3>
902
+ <pre class="programlisting"><a class="link" href="glib-File-Utilities.html#GDir" title="GDir"><span class="returnvalue">GDir</span></a> * g_dir_open (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *path</code></em>,
903
+ <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> flags</code></em>,
904
+ <em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
905
+ <p>
906
+ Opens a directory for reading. The names of the files in the
907
+ directory can then be retrieved using <a class="link" href="glib-File-Utilities.html#g-dir-read-name" title="g_dir_read_name ()"><code class="function">g_dir_read_name()</code></a>.
908
+ </p>
909
+ <div class="variablelist"><table border="0">
910
+ <col align="left" valign="top">
911
+ <tbody>
912
+ <tr>
913
+ <td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
914
+ <td>the path to the directory you are interested in. On Unix
915
+ in the on-disk encoding. On Windows in UTF-8
916
+ </td>
917
+ </tr>
918
+ <tr>
919
+ <td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
920
+ <td>Currently must be set to 0. Reserved for future use.
921
+ </td>
922
+ </tr>
923
+ <tr>
924
+ <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
925
+ <td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
926
+ If non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, an error will be set if and only if
927
+ <a class="link" href="glib-File-Utilities.html#g-dir-open" title="g_dir_open ()"><code class="function">g_dir_open()</code></a> fails.
928
+ </td>
929
+ </tr>
930
+ <tr>
931
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
932
+ <td> a newly allocated <a class="link" href="glib-File-Utilities.html#GDir" title="GDir"><span class="type">GDir</span></a> on success, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> on failure.
933
+ If non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, you must free the result with <a class="link" href="glib-File-Utilities.html#g-dir-close" title="g_dir_close ()"><code class="function">g_dir_close()</code></a>
934
+ when you are finished with it.
935
+ </td>
936
+ </tr>
937
+ </tbody>
938
+ </table></div>
939
+ </div>
940
+ <hr>
941
+ <div class="refsect2" title="g_dir_read_name ()">
942
+ <a name="g-dir-read-name"></a><h3>g_dir_read_name ()</h3>
943
+ <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_dir_read_name (<em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GDir" title="GDir"><span class="type">GDir</span></a> *dir</code></em>);</pre>
944
+ <p>
945
+ Retrieves the name of the next entry in the directory. The '.' and
946
+ '..' entries are omitted. On Windows, the returned name is in
947
+ UTF-8. On Unix, it is in the on-disk encoding.
948
+ </p>
949
+ <div class="variablelist"><table border="0">
950
+ <col align="left" valign="top">
951
+ <tbody>
952
+ <tr>
953
+ <td><p><span class="term"><em class="parameter"><code>dir</code></em> :</span></p></td>
954
+ <td>a <a class="link" href="glib-File-Utilities.html#GDir" title="GDir"><span class="type">GDir</span></a>* created by <a class="link" href="glib-File-Utilities.html#g-dir-open" title="g_dir_open ()"><code class="function">g_dir_open()</code></a>
955
+ </td>
956
+ </tr>
957
+ <tr>
958
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
959
+ <td> The entry's name or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if there are no
960
+ more entries. The return value is owned by GLib and
961
+ must not be modified or freed.
962
+ </td>
963
+ </tr>
964
+ </tbody>
965
+ </table></div>
966
+ </div>
967
+ <hr>
968
+ <div class="refsect2" title="g_dir_rewind ()">
969
+ <a name="g-dir-rewind"></a><h3>g_dir_rewind ()</h3>
970
+ <pre class="programlisting"><span class="returnvalue">void</span> g_dir_rewind (<em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GDir" title="GDir"><span class="type">GDir</span></a> *dir</code></em>);</pre>
971
+ <p>
972
+ Resets the given directory. The next call to <a class="link" href="glib-File-Utilities.html#g-dir-read-name" title="g_dir_read_name ()"><code class="function">g_dir_read_name()</code></a>
973
+ will return the first entry again.
974
+ </p>
975
+ <div class="variablelist"><table border="0">
976
+ <col align="left" valign="top">
977
+ <tbody><tr>
978
+ <td><p><span class="term"><em class="parameter"><code>dir</code></em> :</span></p></td>
979
+ <td>a <a class="link" href="glib-File-Utilities.html#GDir" title="GDir"><span class="type">GDir</span></a>* created by <a class="link" href="glib-File-Utilities.html#g-dir-open" title="g_dir_open ()"><code class="function">g_dir_open()</code></a>
980
+ </td>
981
+ </tr></tbody>
982
+ </table></div>
983
+ </div>
984
+ <hr>
985
+ <div class="refsect2" title="g_dir_close ()">
986
+ <a name="g-dir-close"></a><h3>g_dir_close ()</h3>
987
+ <pre class="programlisting"><span class="returnvalue">void</span> g_dir_close (<em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GDir" title="GDir"><span class="type">GDir</span></a> *dir</code></em>);</pre>
988
+ <p>
989
+ Closes the directory and deallocates all related resources.
990
+ </p>
991
+ <div class="variablelist"><table border="0">
992
+ <col align="left" valign="top">
993
+ <tbody><tr>
994
+ <td><p><span class="term"><em class="parameter"><code>dir</code></em> :</span></p></td>
995
+ <td>a <a class="link" href="glib-File-Utilities.html#GDir" title="GDir"><span class="type">GDir</span></a>* created by <a class="link" href="glib-File-Utilities.html#g-dir-open" title="g_dir_open ()"><code class="function">g_dir_open()</code></a>
996
+ </td>
997
+ </tr></tbody>
998
+ </table></div>
999
+ </div>
1000
+ <hr>
1001
+ <div class="refsect2" title="GMappedFile">
1002
+ <a name="GMappedFile"></a><h3>GMappedFile</h3>
1003
+ <pre class="programlisting">typedef struct _GMappedFile GMappedFile;</pre>
1004
+ <p>
1005
+ The <a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="type">GMappedFile</span></a> represents a file mapping created with
1006
+ <a class="link" href="glib-File-Utilities.html#g-mapped-file-new" title="g_mapped_file_new ()"><code class="function">g_mapped_file_new()</code></a>. It has only private members and should
1007
+ not be accessed directly.
1008
+ </p>
1009
+ </div>
1010
+ <hr>
1011
+ <div class="refsect2" title="g_mapped_file_new ()">
1012
+ <a name="g-mapped-file-new"></a><h3>g_mapped_file_new ()</h3>
1013
+ <pre class="programlisting"><a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="returnvalue">GMappedFile</span></a> * g_mapped_file_new (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
1014
+ <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> writable</code></em>,
1015
+ <em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
1016
+ <p>
1017
+ Maps a file into memory. On UNIX, this is using the <code class="function">mmap()</code> function.
1018
+ </p>
1019
+ <p>
1020
+ If <em class="parameter"><code>writable</code></em> is <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>, the mapped buffer may be modified, otherwise
1021
+ it is an error to modify the mapped buffer. Modifications to the buffer
1022
+ are not visible to other processes mapping the same file, and are not
1023
+ written back to the file.
1024
+ </p>
1025
+ <p>
1026
+ Note that modifications of the underlying file might affect the contents
1027
+ of the <a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="type">GMappedFile</span></a>. Therefore, mapping should only be used if the file
1028
+ will not be modified, or if all modifications of the file are done
1029
+ atomically (e.g. using <a class="link" href="glib-File-Utilities.html#g-file-set-contents" title="g_file_set_contents ()"><code class="function">g_file_set_contents()</code></a>).
1030
+ </p>
1031
+ <div class="variablelist"><table border="0">
1032
+ <col align="left" valign="top">
1033
+ <tbody>
1034
+ <tr>
1035
+ <td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
1036
+ <td>The path of the file to load, in the GLib filename encoding
1037
+ </td>
1038
+ </tr>
1039
+ <tr>
1040
+ <td><p><span class="term"><em class="parameter"><code>writable</code></em> :</span></p></td>
1041
+ <td>whether the mapping should be writable
1042
+ </td>
1043
+ </tr>
1044
+ <tr>
1045
+ <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1046
+ <td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
1047
+ </td>
1048
+ </tr>
1049
+ <tr>
1050
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1051
+ <td> a newly allocated <a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="type">GMappedFile</span></a> which must be unref'd
1052
+ with <a class="link" href="glib-File-Utilities.html#g-mapped-file-unref" title="g_mapped_file_unref ()"><code class="function">g_mapped_file_unref()</code></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the mapping failed.
1053
+
1054
+ </td>
1055
+ </tr>
1056
+ </tbody>
1057
+ </table></div>
1058
+ <p class="since">Since 2.8</p>
1059
+ </div>
1060
+ <hr>
1061
+ <div class="refsect2" title="g_mapped_file_ref ()">
1062
+ <a name="g-mapped-file-ref"></a><h3>g_mapped_file_ref ()</h3>
1063
+ <pre class="programlisting"><a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="returnvalue">GMappedFile</span></a> * g_mapped_file_ref (<em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="type">GMappedFile</span></a> *file</code></em>);</pre>
1064
+ <p>
1065
+ Increments the reference count of <em class="parameter"><code>file</code></em> by one. It is safe to call
1066
+ this function from any thread.
1067
+ </p>
1068
+ <div class="variablelist"><table border="0">
1069
+ <col align="left" valign="top">
1070
+ <tbody>
1071
+ <tr>
1072
+ <td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
1073
+ <td>a <a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="type">GMappedFile</span></a>
1074
+ </td>
1075
+ </tr>
1076
+ <tr>
1077
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1078
+ <td> the passed in <a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="type">GMappedFile</span></a>.
1079
+
1080
+ </td>
1081
+ </tr>
1082
+ </tbody>
1083
+ </table></div>
1084
+ <p class="since">Since 2.22</p>
1085
+ </div>
1086
+ <hr>
1087
+ <div class="refsect2" title="g_mapped_file_unref ()">
1088
+ <a name="g-mapped-file-unref"></a><h3>g_mapped_file_unref ()</h3>
1089
+ <pre class="programlisting"><span class="returnvalue">void</span> g_mapped_file_unref (<em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="type">GMappedFile</span></a> *file</code></em>);</pre>
1090
+ <p>
1091
+ Decrements the reference count of <em class="parameter"><code>file</code></em> by one. If the reference count
1092
+ drops to 0, unmaps the buffer of <em class="parameter"><code>file</code></em> and frees it.
1093
+ </p>
1094
+ <p>
1095
+ It is safe to call this function from any thread.
1096
+ </p>
1097
+ <p>
1098
+ Since 2.22
1099
+ </p>
1100
+ <div class="variablelist"><table border="0">
1101
+ <col align="left" valign="top">
1102
+ <tbody><tr>
1103
+ <td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
1104
+ <td>a <a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="type">GMappedFile</span></a>
1105
+ </td>
1106
+ </tr></tbody>
1107
+ </table></div>
1108
+ </div>
1109
+ <hr>
1110
+ <div class="refsect2" title="g_mapped_file_free ()">
1111
+ <a name="g-mapped-file-free"></a><h3>g_mapped_file_free ()</h3>
1112
+ <pre class="programlisting"><span class="returnvalue">void</span> g_mapped_file_free (<em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="type">GMappedFile</span></a> *file</code></em>);</pre>
1113
+ <div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1114
+ <h3 class="title">Warning</h3>
1115
+ <p><code class="literal">g_mapped_file_free</code> has been deprecated since version 2.22 and should not be used in newly-written code. Use <a class="link" href="glib-File-Utilities.html#g-mapped-file-unref" title="g_mapped_file_unref ()"><code class="function">g_mapped_file_unref()</code></a> instead.</p>
1116
+ </div>
1117
+ <p>
1118
+ This call existed before <a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="type">GMappedFile</span></a> had refcounting and is currently
1119
+ exactly the same as <a class="link" href="glib-File-Utilities.html#g-mapped-file-unref" title="g_mapped_file_unref ()"><code class="function">g_mapped_file_unref()</code></a>.
1120
+ </p>
1121
+ <div class="variablelist"><table border="0">
1122
+ <col align="left" valign="top">
1123
+ <tbody><tr>
1124
+ <td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
1125
+ <td>a <a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="type">GMappedFile</span></a>
1126
+ </td>
1127
+ </tr></tbody>
1128
+ </table></div>
1129
+ <p class="since">Since 2.8</p>
1130
+ </div>
1131
+ <hr>
1132
+ <div class="refsect2" title="g_mapped_file_get_length ()">
1133
+ <a name="g-mapped-file-get-length"></a><h3>g_mapped_file_get_length ()</h3>
1134
+ <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> g_mapped_file_get_length (<em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="type">GMappedFile</span></a> *file</code></em>);</pre>
1135
+ <p>
1136
+ Returns the length of the contents of a <a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="type">GMappedFile</span></a>.
1137
+ </p>
1138
+ <div class="variablelist"><table border="0">
1139
+ <col align="left" valign="top">
1140
+ <tbody>
1141
+ <tr>
1142
+ <td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
1143
+ <td>a <a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="type">GMappedFile</span></a>
1144
+ </td>
1145
+ </tr>
1146
+ <tr>
1147
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1148
+ <td> the length of the contents of <em class="parameter"><code>file</code></em>.
1149
+
1150
+ </td>
1151
+ </tr>
1152
+ </tbody>
1153
+ </table></div>
1154
+ <p class="since">Since 2.8</p>
1155
+ </div>
1156
+ <hr>
1157
+ <div class="refsect2" title="g_mapped_file_get_contents ()">
1158
+ <a name="g-mapped-file-get-contents"></a><h3>g_mapped_file_get_contents ()</h3>
1159
+ <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_mapped_file_get_contents (<em class="parameter"><code><a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="type">GMappedFile</span></a> *file</code></em>);</pre>
1160
+ <p>
1161
+ Returns the contents of a <a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="type">GMappedFile</span></a>.
1162
+ </p>
1163
+ <p>
1164
+ Note that the contents may not be zero-terminated,
1165
+ even if the <a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="type">GMappedFile</span></a> is backed by a text file.
1166
+ </p>
1167
+ <p>
1168
+ If the file is empty then <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned.
1169
+ </p>
1170
+ <div class="variablelist"><table border="0">
1171
+ <col align="left" valign="top">
1172
+ <tbody>
1173
+ <tr>
1174
+ <td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
1175
+ <td>a <a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="type">GMappedFile</span></a>
1176
+ </td>
1177
+ </tr>
1178
+ <tr>
1179
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1180
+ <td> the contents of <em class="parameter"><code>file</code></em>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
1181
+
1182
+ </td>
1183
+ </tr>
1184
+ </tbody>
1185
+ </table></div>
1186
+ <p class="since">Since 2.8</p>
1187
+ </div>
1188
+ <hr>
1189
+ <div class="refsect2" title="g_open ()">
1190
+ <a name="g-open"></a><h3>g_open ()</h3>
1191
+ <pre class="programlisting"><span class="returnvalue">int</span> g_open (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
1192
+ <em class="parameter"><code><span class="type">int</span> flags</code></em>,
1193
+ <em class="parameter"><code><span class="type">int</span> mode</code></em>);</pre>
1194
+ <p>
1195
+ A wrapper for the POSIX <code class="function">open()</code> function. The <code class="function">open()</code> function is
1196
+ used to convert a pathname into a file descriptor.
1197
+ </p>
1198
+ <p>
1199
+ On POSIX systems file descriptors are implemented by the operating
1200
+ system. On Windows, it's the C library that implements <code class="function">open()</code> and
1201
+ file descriptors. The actual Win32 API for opening files is quite
1202
+ different, see MSDN documentation for <code class="function">CreateFile()</code>. The Win32 API
1203
+ uses file handles, which are more randomish integers, not small
1204
+ integers like file descriptors.
1205
+ </p>
1206
+ <p>
1207
+ Because file descriptors are specific to the C library on Windows,
1208
+ the file descriptor returned by this function makes sense only to
1209
+ functions in the same C library. Thus if the GLib-using code uses a
1210
+ different C library than GLib does, the file descriptor returned by
1211
+ this function cannot be passed to C library functions like <code class="function">write()</code>
1212
+ or <code class="function">read()</code>.
1213
+ </p>
1214
+ <p>
1215
+ See your C library manual for more details about <code class="function">open()</code>.
1216
+ </p>
1217
+ <div class="variablelist"><table border="0">
1218
+ <col align="left" valign="top">
1219
+ <tbody>
1220
+ <tr>
1221
+ <td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
1222
+ <td>a pathname in the GLib file name encoding (UTF-8 on Windows)
1223
+ </td>
1224
+ </tr>
1225
+ <tr>
1226
+ <td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
1227
+ <td>as in <code class="function">open()</code>
1228
+ </td>
1229
+ </tr>
1230
+ <tr>
1231
+ <td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
1232
+ <td>as in <code class="function">open()</code>
1233
+ </td>
1234
+ </tr>
1235
+ <tr>
1236
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1237
+ <td> a new file descriptor, or -1 if an error occurred. The
1238
+ return value can be used exactly like the return value from <code class="function">open()</code>.
1239
+
1240
+ </td>
1241
+ </tr>
1242
+ </tbody>
1243
+ </table></div>
1244
+ <p class="since">Since 2.6</p>
1245
+ </div>
1246
+ <hr>
1247
+ <div class="refsect2" title="g_rename ()">
1248
+ <a name="g-rename"></a><h3>g_rename ()</h3>
1249
+ <pre class="programlisting"><span class="returnvalue">int</span> g_rename (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *oldfilename</code></em>,
1250
+ <em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *newfilename</code></em>);</pre>
1251
+ <p>
1252
+ A wrapper for the POSIX <code class="function">rename()</code> function. The <code class="function">rename()</code> function
1253
+ renames a file, moving it between directories if required.
1254
+ </p>
1255
+ <p>
1256
+ See your C library manual for more details about how <code class="function">rename()</code> works
1257
+ on your system. It is not possible in general on Windows to rename
1258
+ a file that is open to some process.
1259
+ </p>
1260
+ <div class="variablelist"><table border="0">
1261
+ <col align="left" valign="top">
1262
+ <tbody>
1263
+ <tr>
1264
+ <td><p><span class="term"><em class="parameter"><code>oldfilename</code></em> :</span></p></td>
1265
+ <td>a pathname in the GLib file name encoding (UTF-8 on Windows)
1266
+ </td>
1267
+ </tr>
1268
+ <tr>
1269
+ <td><p><span class="term"><em class="parameter"><code>newfilename</code></em> :</span></p></td>
1270
+ <td>a pathname in the GLib file name encoding
1271
+ </td>
1272
+ </tr>
1273
+ <tr>
1274
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1275
+ <td> 0 if the renaming succeeded, -1 if an error occurred
1276
+
1277
+ </td>
1278
+ </tr>
1279
+ </tbody>
1280
+ </table></div>
1281
+ <p class="since">Since 2.6</p>
1282
+ </div>
1283
+ <hr>
1284
+ <div class="refsect2" title="g_mkdir ()">
1285
+ <a name="g-mkdir"></a><h3>g_mkdir ()</h3>
1286
+ <pre class="programlisting"><span class="returnvalue">int</span> g_mkdir (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
1287
+ <em class="parameter"><code><span class="type">int</span> mode</code></em>);</pre>
1288
+ <p>
1289
+ A wrapper for the POSIX <code class="function">mkdir()</code> function. The <code class="function">mkdir()</code> function
1290
+ attempts to create a directory with the given name and permissions.
1291
+ The mode argument is ignored on Windows.
1292
+ </p>
1293
+ <p>
1294
+ See your C library manual for more details about <code class="function">mkdir()</code>.
1295
+ </p>
1296
+ <div class="variablelist"><table border="0">
1297
+ <col align="left" valign="top">
1298
+ <tbody>
1299
+ <tr>
1300
+ <td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
1301
+ <td>a pathname in the GLib file name encoding (UTF-8 on Windows)
1302
+ </td>
1303
+ </tr>
1304
+ <tr>
1305
+ <td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
1306
+ <td>permissions to use for the newly created directory
1307
+ </td>
1308
+ </tr>
1309
+ <tr>
1310
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1311
+ <td> 0 if the directory was successfully created, -1 if an error
1312
+ occurred
1313
+
1314
+ </td>
1315
+ </tr>
1316
+ </tbody>
1317
+ </table></div>
1318
+ <p class="since">Since 2.6</p>
1319
+ </div>
1320
+ <hr>
1321
+ <div class="refsect2" title="g_stat ()">
1322
+ <a name="g-stat"></a><h3>g_stat ()</h3>
1323
+ <pre class="programlisting"><span class="returnvalue">int</span> g_stat (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
1324
+ <em class="parameter"><code><span class="type">struct _g_stat_struct</span> *buf</code></em>);</pre>
1325
+ <p>
1326
+ A wrapper for the POSIX <code class="function">stat()</code> function. The <code class="function">stat()</code> function
1327
+ returns information about a file. On Windows the <code class="function">stat()</code> function in
1328
+ the C library checks only the FAT-style READONLY attribute and does
1329
+ not look at the ACL at all. Thus on Windows the protection bits in
1330
+ the st_mode field are a fabrication of little use.
1331
+ </p>
1332
+ <p>
1333
+ See your C library manual for more details about <code class="function">stat()</code>.
1334
+ </p>
1335
+ <div class="variablelist"><table border="0">
1336
+ <col align="left" valign="top">
1337
+ <tbody>
1338
+ <tr>
1339
+ <td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
1340
+ <td>a pathname in the GLib file name encoding (UTF-8 on Windows)
1341
+ </td>
1342
+ </tr>
1343
+ <tr>
1344
+ <td><p><span class="term"><em class="parameter"><code>buf</code></em> :</span></p></td>
1345
+ <td>a pointer to a <span class="structname">stat</span> struct, which
1346
+ will be filled with the file information
1347
+ </td>
1348
+ </tr>
1349
+ <tr>
1350
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1351
+ <td> 0 if the information was successfully retrieved, -1 if an error
1352
+ occurred
1353
+
1354
+ </td>
1355
+ </tr>
1356
+ </tbody>
1357
+ </table></div>
1358
+ <p class="since">Since 2.6</p>
1359
+ </div>
1360
+ <hr>
1361
+ <div class="refsect2" title="g_lstat ()">
1362
+ <a name="g-lstat"></a><h3>g_lstat ()</h3>
1363
+ <pre class="programlisting"><span class="returnvalue">int</span> g_lstat (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
1364
+ <em class="parameter"><code><span class="type">struct _g_stat_struct</span> *buf</code></em>);</pre>
1365
+ <p>
1366
+ A wrapper for the POSIX <code class="function">lstat()</code> function. The <code class="function">lstat()</code> function is
1367
+ like <code class="function">stat()</code> except that in the case of symbolic links, it returns
1368
+ information about the symbolic link itself and not the file that it
1369
+ refers to. If the system does not support symbolic links <a class="link" href="glib-File-Utilities.html#g-lstat" title="g_lstat ()"><code class="function">g_lstat()</code></a>
1370
+ is identical to <a class="link" href="glib-File-Utilities.html#g-stat" title="g_stat ()"><code class="function">g_stat()</code></a>.
1371
+ </p>
1372
+ <p>
1373
+ See your C library manual for more details about <code class="function">lstat()</code>.
1374
+ </p>
1375
+ <div class="variablelist"><table border="0">
1376
+ <col align="left" valign="top">
1377
+ <tbody>
1378
+ <tr>
1379
+ <td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
1380
+ <td>a pathname in the GLib file name encoding (UTF-8 on Windows)
1381
+ </td>
1382
+ </tr>
1383
+ <tr>
1384
+ <td><p><span class="term"><em class="parameter"><code>buf</code></em> :</span></p></td>
1385
+ <td>a pointer to a <span class="structname">stat</span> struct, which
1386
+ will be filled with the file information
1387
+ </td>
1388
+ </tr>
1389
+ <tr>
1390
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1391
+ <td> 0 if the information was successfully retrieved, -1 if an error
1392
+ occurred
1393
+
1394
+ </td>
1395
+ </tr>
1396
+ </tbody>
1397
+ </table></div>
1398
+ <p class="since">Since 2.6</p>
1399
+ </div>
1400
+ <hr>
1401
+ <div class="refsect2" title="g_unlink ()">
1402
+ <a name="g-unlink"></a><h3>g_unlink ()</h3>
1403
+ <pre class="programlisting"><span class="returnvalue">int</span> g_unlink (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
1404
+ <p>
1405
+ A wrapper for the POSIX <code class="function">unlink()</code> function. The <code class="function">unlink()</code> function
1406
+ deletes a name from the filesystem. If this was the last link to the
1407
+ file and no processes have it opened, the diskspace occupied by the
1408
+ file is freed.
1409
+ </p>
1410
+ <p>
1411
+ See your C library manual for more details about <code class="function">unlink()</code>. Note
1412
+ that on Windows, it is in general not possible to delete files that
1413
+ are open to some process, or mapped into memory.
1414
+ </p>
1415
+ <div class="variablelist"><table border="0">
1416
+ <col align="left" valign="top">
1417
+ <tbody>
1418
+ <tr>
1419
+ <td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
1420
+ <td>a pathname in the GLib file name encoding (UTF-8 on Windows)
1421
+ </td>
1422
+ </tr>
1423
+ <tr>
1424
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1425
+ <td> 0 if the name was successfully deleted, -1 if an error
1426
+ occurred
1427
+
1428
+ </td>
1429
+ </tr>
1430
+ </tbody>
1431
+ </table></div>
1432
+ <p class="since">Since 2.6</p>
1433
+ </div>
1434
+ <hr>
1435
+ <div class="refsect2" title="g_remove ()">
1436
+ <a name="g-remove"></a><h3>g_remove ()</h3>
1437
+ <pre class="programlisting"><span class="returnvalue">int</span> g_remove (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
1438
+ <p>
1439
+ A wrapper for the POSIX <code class="function">remove()</code> function. The <code class="function">remove()</code> function
1440
+ deletes a name from the filesystem.
1441
+ </p>
1442
+ <p>
1443
+ See your C library manual for more details about how <code class="function">remove()</code> works
1444
+ on your system. On Unix, <code class="function">remove()</code> removes also directories, as it
1445
+ calls <code class="function">unlink()</code> for files and <code class="function">rmdir()</code> for directories. On Windows,
1446
+ although <code class="function">remove()</code> in the C library only works for files, this
1447
+ function tries first <code class="function">remove()</code> and then if that fails <code class="function">rmdir()</code>, and
1448
+ thus works for both files and directories. Note however, that on
1449
+ Windows, it is in general not possible to remove a file that is
1450
+ open to some process, or mapped into memory.
1451
+ </p>
1452
+ <p>
1453
+ If this function fails on Windows you can't infer too much from the
1454
+ errno value. <code class="function">rmdir()</code> is tried regardless of what caused <code class="function">remove()</code> to
1455
+ fail. Any errno value set by <code class="function">remove()</code> will be overwritten by that
1456
+ set by <code class="function">rmdir()</code>.
1457
+ </p>
1458
+ <div class="variablelist"><table border="0">
1459
+ <col align="left" valign="top">
1460
+ <tbody>
1461
+ <tr>
1462
+ <td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
1463
+ <td>a pathname in the GLib file name encoding (UTF-8 on Windows)
1464
+ </td>
1465
+ </tr>
1466
+ <tr>
1467
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1468
+ <td> 0 if the file was successfully removed, -1 if an error
1469
+ occurred
1470
+
1471
+ </td>
1472
+ </tr>
1473
+ </tbody>
1474
+ </table></div>
1475
+ <p class="since">Since 2.6</p>
1476
+ </div>
1477
+ <hr>
1478
+ <div class="refsect2" title="g_rmdir ()">
1479
+ <a name="g-rmdir"></a><h3>g_rmdir ()</h3>
1480
+ <pre class="programlisting"><span class="returnvalue">int</span> g_rmdir (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
1481
+ <p>
1482
+ A wrapper for the POSIX <code class="function">rmdir()</code> function. The <code class="function">rmdir()</code> function
1483
+ deletes a directory from the filesystem.
1484
+ </p>
1485
+ <p>
1486
+ See your C library manual for more details about how <code class="function">rmdir()</code> works
1487
+ on your system.
1488
+ </p>
1489
+ <div class="variablelist"><table border="0">
1490
+ <col align="left" valign="top">
1491
+ <tbody>
1492
+ <tr>
1493
+ <td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
1494
+ <td>a pathname in the GLib file name encoding (UTF-8 on Windows)
1495
+ </td>
1496
+ </tr>
1497
+ <tr>
1498
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1499
+ <td> 0 if the directory was successfully removed, -1 if an error
1500
+ occurred
1501
+
1502
+ </td>
1503
+ </tr>
1504
+ </tbody>
1505
+ </table></div>
1506
+ <p class="since">Since 2.6</p>
1507
+ </div>
1508
+ <hr>
1509
+ <div class="refsect2" title="g_fopen ()">
1510
+ <a name="g-fopen"></a><h3>g_fopen ()</h3>
1511
+ <pre class="programlisting"><span class="returnvalue">FILE</span> * g_fopen (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
1512
+ <em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *mode</code></em>);</pre>
1513
+ <p>
1514
+ A wrapper for the stdio <code class="function">fopen()</code> function. The <code class="function">fopen()</code> function
1515
+ opens a file and associates a new stream with it.
1516
+ </p>
1517
+ <p>
1518
+ Because file descriptors are specific to the C library on Windows,
1519
+ and a file descriptor is partof the <span class="type">FILE</span> struct, the
1520
+ <span class="type">FILE</span> pointer returned by this function makes sense
1521
+ only to functions in the same C library. Thus if the GLib-using
1522
+ code uses a different C library than GLib does, the
1523
+ <span class="type">FILE</span> pointer returned by this function cannot be
1524
+ passed to C library functions like <code class="function">fprintf()</code> or <code class="function">fread()</code>.
1525
+ </p>
1526
+ <p>
1527
+ See your C library manual for more details about <code class="function">fopen()</code>.
1528
+ </p>
1529
+ <div class="variablelist"><table border="0">
1530
+ <col align="left" valign="top">
1531
+ <tbody>
1532
+ <tr>
1533
+ <td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
1534
+ <td>a pathname in the GLib file name encoding (UTF-8 on Windows)
1535
+ </td>
1536
+ </tr>
1537
+ <tr>
1538
+ <td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
1539
+ <td>a string describing the mode in which the file should be
1540
+ opened
1541
+ </td>
1542
+ </tr>
1543
+ <tr>
1544
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1545
+ <td> A <span class="type">FILE</span> pointer if the file was successfully
1546
+ opened, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if an error occurred
1547
+
1548
+ </td>
1549
+ </tr>
1550
+ </tbody>
1551
+ </table></div>
1552
+ <p class="since">Since 2.6</p>
1553
+ </div>
1554
+ <hr>
1555
+ <div class="refsect2" title="g_freopen ()">
1556
+ <a name="g-freopen"></a><h3>g_freopen ()</h3>
1557
+ <pre class="programlisting"><span class="returnvalue">FILE</span> * g_freopen (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
1558
+ <em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *mode</code></em>,
1559
+ <em class="parameter"><code><span class="type">FILE</span> *stream</code></em>);</pre>
1560
+ <p>
1561
+ A wrapper for the POSIX <code class="function">freopen()</code> function. The <code class="function">freopen()</code> function
1562
+ opens a file and associates it with an existing stream.
1563
+ </p>
1564
+ <p>
1565
+ See your C library manual for more details about <code class="function">freopen()</code>.
1566
+ </p>
1567
+ <div class="variablelist"><table border="0">
1568
+ <col align="left" valign="top">
1569
+ <tbody>
1570
+ <tr>
1571
+ <td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
1572
+ <td>a pathname in the GLib file name encoding (UTF-8 on Windows)
1573
+ </td>
1574
+ </tr>
1575
+ <tr>
1576
+ <td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
1577
+ <td>a string describing the mode in which the file should be
1578
+ opened
1579
+ </td>
1580
+ </tr>
1581
+ <tr>
1582
+ <td><p><span class="term"><em class="parameter"><code>stream</code></em> :</span></p></td>
1583
+ <td>an existing stream which will be reused, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
1584
+ </td>
1585
+ </tr>
1586
+ <tr>
1587
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1588
+ <td> A <span class="type">FILE</span> pointer if the file was successfully
1589
+ opened, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if an error occurred.
1590
+
1591
+ </td>
1592
+ </tr>
1593
+ </tbody>
1594
+ </table></div>
1595
+ <p class="since">Since 2.6</p>
1596
+ </div>
1597
+ <hr>
1598
+ <div class="refsect2" title="g_chmod ()">
1599
+ <a name="g-chmod"></a><h3>g_chmod ()</h3>
1600
+ <pre class="programlisting"><span class="returnvalue">int</span> g_chmod (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
1601
+ <em class="parameter"><code><span class="type">int</span> mode</code></em>);</pre>
1602
+ <p>
1603
+ A wrapper for the POSIX <code class="function">chmod()</code> function. The <code class="function">chmod()</code> function is
1604
+ used to set the permissions of a file system object.
1605
+ </p>
1606
+ <p>
1607
+ On Windows the file protection mechanism is not at all POSIX-like,
1608
+ and the underlying <code class="function">chmod()</code> function in the C library just sets or
1609
+ clears the FAT-style READONLY attribute. It does not touch any
1610
+ ACL. Software that needs to manage file permissions on Windows
1611
+ exactly should use the Win32 API.
1612
+ </p>
1613
+ <p>
1614
+ See your C library manual for more details about <code class="function">chmod()</code>.
1615
+ </p>
1616
+ <div class="variablelist"><table border="0">
1617
+ <col align="left" valign="top">
1618
+ <tbody>
1619
+ <tr>
1620
+ <td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
1621
+ <td>a pathname in the GLib file name encoding (UTF-8 on Windows)
1622
+ </td>
1623
+ </tr>
1624
+ <tr>
1625
+ <td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
1626
+ <td>as in <code class="function">chmod()</code>
1627
+ </td>
1628
+ </tr>
1629
+ <tr>
1630
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1631
+ <td> zero if the operation succeeded, -1 on error.
1632
+
1633
+ </td>
1634
+ </tr>
1635
+ </tbody>
1636
+ </table></div>
1637
+ <p class="since">Since 2.8</p>
1638
+ </div>
1639
+ <hr>
1640
+ <div class="refsect2" title="g_access ()">
1641
+ <a name="g-access"></a><h3>g_access ()</h3>
1642
+ <pre class="programlisting"><span class="returnvalue">int</span> g_access (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
1643
+ <em class="parameter"><code><span class="type">int</span> mode</code></em>);</pre>
1644
+ <p>
1645
+ A wrapper for the POSIX <code class="function">access()</code> function. This function is used to
1646
+ test a pathname for one or several of read, write or execute
1647
+ permissions, or just existence.
1648
+ </p>
1649
+ <p>
1650
+ On Windows, the file protection mechanism is not at all POSIX-like,
1651
+ and the underlying function in the C library only checks the
1652
+ FAT-style READONLY attribute, and does not look at the ACL of a
1653
+ file at all. This function is this in practise almost useless on
1654
+ Windows. Software that needs to handle file permissions on Windows
1655
+ more exactly should use the Win32 API.
1656
+ </p>
1657
+ <p>
1658
+ See your C library manual for more details about <code class="function">access()</code>.
1659
+ </p>
1660
+ <div class="variablelist"><table border="0">
1661
+ <col align="left" valign="top">
1662
+ <tbody>
1663
+ <tr>
1664
+ <td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
1665
+ <td>a pathname in the GLib file name encoding (UTF-8 on Windows)
1666
+ </td>
1667
+ </tr>
1668
+ <tr>
1669
+ <td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
1670
+ <td>as in <code class="function">access()</code>
1671
+ </td>
1672
+ </tr>
1673
+ <tr>
1674
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1675
+ <td> zero if the pathname refers to an existing file system
1676
+ object that has all the tested permissions, or -1 otherwise or on
1677
+ error.
1678
+
1679
+ </td>
1680
+ </tr>
1681
+ </tbody>
1682
+ </table></div>
1683
+ <p class="since">Since 2.8</p>
1684
+ </div>
1685
+ <hr>
1686
+ <div class="refsect2" title="g_creat ()">
1687
+ <a name="g-creat"></a><h3>g_creat ()</h3>
1688
+ <pre class="programlisting"><span class="returnvalue">int</span> g_creat (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
1689
+ <em class="parameter"><code><span class="type">int</span> mode</code></em>);</pre>
1690
+ <p>
1691
+ A wrapper for the POSIX <code class="function">creat()</code> function. The <code class="function">creat()</code> function is
1692
+ used to convert a pathname into a file descriptor, creating a file
1693
+ if necessary.
1694
+ </p>
1695
+ <p>
1696
+ On POSIX systems file descriptors are implemented by the operating
1697
+ system. On Windows, it's the C library that implements <code class="function">creat()</code> and
1698
+ file descriptors. The actual Windows API for opening files is
1699
+ different, see MSDN documentation for <code class="function">CreateFile()</code>. The Win32 API
1700
+ uses file handles, which are more randomish integers, not small
1701
+ integers like file descriptors.
1702
+ </p>
1703
+ <p>
1704
+ Because file descriptors are specific to the C library on Windows,
1705
+ the file descriptor returned by this function makes sense only to
1706
+ functions in the same C library. Thus if the GLib-using code uses a
1707
+ different C library than GLib does, the file descriptor returned by
1708
+ this function cannot be passed to C library functions like <code class="function">write()</code>
1709
+ or <code class="function">read()</code>.
1710
+ </p>
1711
+ <p>
1712
+ See your C library manual for more details about <code class="function">creat()</code>.
1713
+ </p>
1714
+ <div class="variablelist"><table border="0">
1715
+ <col align="left" valign="top">
1716
+ <tbody>
1717
+ <tr>
1718
+ <td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
1719
+ <td>a pathname in the GLib file name encoding (UTF-8 on Windows)
1720
+ </td>
1721
+ </tr>
1722
+ <tr>
1723
+ <td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
1724
+ <td>as in <code class="function">creat()</code>
1725
+ </td>
1726
+ </tr>
1727
+ <tr>
1728
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1729
+ <td> a new file descriptor, or -1 if an error occurred. The
1730
+ return value can be used exactly like the return value from <code class="function">creat()</code>.
1731
+
1732
+ </td>
1733
+ </tr>
1734
+ </tbody>
1735
+ </table></div>
1736
+ <p class="since">Since 2.8</p>
1737
+ </div>
1738
+ <hr>
1739
+ <div class="refsect2" title="g_chdir ()">
1740
+ <a name="g-chdir"></a><h3>g_chdir ()</h3>
1741
+ <pre class="programlisting"><span class="returnvalue">int</span> g_chdir (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *path</code></em>);</pre>
1742
+ <p>
1743
+ A wrapper for the POSIX <code class="function">chdir()</code> function. The function changes the
1744
+ current directory of the process to <em class="parameter"><code>path</code></em>.
1745
+ </p>
1746
+ <p>
1747
+ See your C library manual for more details about <code class="function">chdir()</code>.
1748
+ </p>
1749
+ <div class="variablelist"><table border="0">
1750
+ <col align="left" valign="top">
1751
+ <tbody>
1752
+ <tr>
1753
+ <td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
1754
+ <td>a pathname in the GLib file name encoding (UTF-8 on Windows)
1755
+ </td>
1756
+ </tr>
1757
+ <tr>
1758
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1759
+ <td> 0 on success, -1 if an error occurred.
1760
+
1761
+ </td>
1762
+ </tr>
1763
+ </tbody>
1764
+ </table></div>
1765
+ <p class="since">Since 2.8</p>
1766
+ </div>
1767
+ <hr>
1768
+ <div class="refsect2" title="g_utime ()">
1769
+ <a name="g-utime"></a><h3>g_utime ()</h3>
1770
+ <pre class="programlisting"><span class="returnvalue">int</span> g_utime (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
1771
+ <em class="parameter"><code><span class="type">struct utimbuf</span> *utb</code></em>);</pre>
1772
+ <p>
1773
+ A wrapper for the POSIX <code class="function">utime()</code> function. The <code class="function">utime()</code> function
1774
+ sets the access and modification timestamps of a file.
1775
+ </p>
1776
+ <p>
1777
+ See your C library manual for more details about how <code class="function">utime()</code> works
1778
+ on your system.
1779
+ </p>
1780
+ <div class="variablelist"><table border="0">
1781
+ <col align="left" valign="top">
1782
+ <tbody>
1783
+ <tr>
1784
+ <td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
1785
+ <td>a pathname in the GLib file name encoding (UTF-8 on Windows)
1786
+ </td>
1787
+ </tr>
1788
+ <tr>
1789
+ <td><p><span class="term"><em class="parameter"><code>utb</code></em> :</span></p></td>
1790
+ <td>a pointer to a struct utimbuf.
1791
+ </td>
1792
+ </tr>
1793
+ <tr>
1794
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1795
+ <td> 0 if the operation was successful, -1 if an error
1796
+ occurred
1797
+
1798
+ </td>
1799
+ </tr>
1800
+ </tbody>
1801
+ </table></div>
1802
+ <p class="since">Since 2.18</p>
1803
+ </div>
1804
+ </div>
1805
+ </div>
1806
+ <div class="footer">
1807
+ <hr>
1808
+ Generated by GTK-Doc V1.14</div>
1809
+ </body>
1810
+ </html>