Re: Need help

>>>>> "J" == Johan Levin <> 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.
AIX: No.
Irix: Yes.

So using the one in glib would be more portable.

Alan Shutko <> - By consent of the corrupted
Happiness is twin floppies.

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