Portable error handling and g_iconv_open()
- From: Jarek Dukat <madmaxer poczta fm>
- To: Gtk-List <gtk-list gnome org>
- Subject: Portable error handling and g_iconv_open()
- Date: 28 Jun 2002 18:42:46 +0200
Glib function g_iconv_open() returns GIConv and there is no explicit
error handling method for it. Libc iconv_open() returns (iconv_t)-1 when
it fails, but I don't know if it is portable with other iconv
implementations. Is checking error from g_iconv_open() by comparing
result with (GIConv)-1 portable? If no what is the correct solution (if
it exists)?
--
struct Sig {
string name(" J a r e k D u k a t ");
string mail(" madmaxer (at) poczta (dot) fm ");
};
----------------------------------------------------------------------
Znawcy prawa konstytucyjnego negatywnie opiniuj± zmiany prawne
na temat Rady Polityki Pienieznej >>> http://link.interia.pl/f15fe
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]