From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc89c,b4b4daa7e9e8f4a3 X-Google-Attributes: gidfc89c,public X-Google-Thread: 10c665,b4b4daa7e9e8f4a3 X-Google-Attributes: gid10c665,public X-Google-Thread: 10663e,b4b4daa7e9e8f4a3 X-Google-Attributes: gid10663e,public X-Google-Thread: fee84,b4b4daa7e9e8f4a3 X-Google-Attributes: gidfee84,public From: andrewr@ultrix..Sun.COM (Andrew Roach) Subject: Re: snprintf() or vsnprintf() ? Date: 1996/11/05 Message-ID: <55nrvd$4s1@engnews2.Eng.Sun.COM>#1/1 X-Deja-AN: 194943754 distribution: world references: <55nhh2$dd8$2@metro.atlanta.com> organization: Sun Microsystems Inc. reply-to: andrewr@Eng.Sun.COM newsgroups: comp.unix.unixware.misc,comp.unix.osf.osf1,comp.unix.sys5.r4,comp.unix.programmer In article <55nhh2$dd8$2@metro.atlanta.com>, curts@compgen.com (Curt Smith) writes: |> At the local Unix User's Group meeting, there was brief mention of the |> new'ish libc function; snprintf(). Philosophically similar to the string |> functions; strnxxx(), where you pass in the size of the recipient buffer. |> |> Does anyone know of availability from Unix OEMs or GNU/SFS places implimentations |> of sprintf and vsprintf that support the "n" varient? |> |> Thanks. |> |> |> Curt Smith |> curts@compgen.com |> The next version of Solaris will have them. I've also submitted them to X/Open for inclusion in the next definition of XPGx & UNIX(tm) Andy