how to define GError in g_io_channel_read_chars?



Dear sirs:
    How should I define GError in g_io_channel_read_chars? should I define it as :
    GError *err;  
    ... /* and malloc for it*/
    g_io_channel_read_chars(.....,&err)?
    it seems that this dont work.
thanks


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