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: 10663e,b4b4daa7e9e8f4a3 X-Google-Attributes: gid10663e,public X-Google-Thread: fee84,b4b4daa7e9e8f4a3 X-Google-Attributes: gidfee84,public X-Google-Thread: 10c665,b4b4daa7e9e8f4a3 X-Google-Attributes: gid10c665,public From: Dave Butenhof Subject: Re: snprintf() or vsnprintf() ? Date: 1996/11/15 Message-ID: <328C76FA.1372@zko.dec.com>#1/1 X-Deja-AN: 196759939 references: <55nhh2$dd8$2@metro.atlanta.com> content-type: text/plain; charset=us-ascii organization: Digital Equipment Corporation mime-version: 1.0 newsgroups: comp.unix.unixware.misc,comp.unix.osf.osf1,comp.unix.sys5.r4,comp.unix.programmer x-mailer: Mozilla 3.01Gold (X11; I; OSF1 V4.0 alpha) > Curt Smith (curts@compgen.com) wrote: > 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? Digital UNIX (at least in 4.0) includes the functions in libsecurity. It would seem logical to move them into libc in the future. /---[ Dave Butenhof ]-----------------------[ butenhof@zko.dec.com ]---\ | Digital Equipment Corporation 110 Spit Brook Rd ZKO2-3/Q18 | | 603.881.2218, FAX 603.881.0120 Nashua NH 03062-2698 | \-----------------[ Better Living Through Concurrency ]----------------/