Re: glib g_close()



On Fri, 2007-09-14 at 07:02 +0200, fred238 free fr wrote:
> Hello all,
> 
> With the g_fopen function, is there a g_close() or something ?
> If not why there isn't ?

because fclose() does not take a file name. the g_* variants are there
only because of the encoding of file names on different platforms (some
UTF-8, some in ISO codes, etc.), so you can use them to port
applications efficiently.

see: http://library.gnome.org/devel/glib/stable/glib-File-Utilities.html

ciao,
 Emmanuele.

-- 
Emmanuele Bassi,
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]