Re: Need help



>>>>> "J" == Johan Levin <nivel@ballyhoo.ml.org> writes:

J> A more generic way is to use, snprintf. Since the 'g_'-functions
J> are glib-specific. (And I don't see why glib is better...)

According to the man page I have, snprintf is a GNU extension, and
would only be ther on systems with glibc.  A quick survey of the
systems I have here says (rloging into them and doing man snprintf)

DUnix:  Nope.
Solaris: No.
HPUX: No.
AIX: No.
Irix: Yes.

So using the one in glib would be more portable.

-- 
Alan Shutko <ats@acm.org> - By consent of the corrupted
Happiness is twin floppies.



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