🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.apple2.gno
Article #484

Re: varargs lib?

#484
From: Jawaid Bazyar
Date: Tue, 12 Jan 1993 23:21
26 lines
1786 bytes
cdantoni@abacus.bates.edu (Chuck D'Antonio) writes:

>bazyar@teal.csn.org (Jawaid Bazyar) writes:

>>  So basically, it's there, you use a different header than BSD, and
>>you're stuck if you need v*printf (although there is a 3rd party 
>>vsprintf available, it's pretty useless without the other functions
>>in the set, too.)

>Not exactly stuck, Jawaid . . . it may be kludge, but using the string
>that vsprintf produces as the format string for fprintf or printf
>makes the 3rd party version work for all three functions.

  Well, okay, agreed, but let me clarify.  With only vsprintf, you have
to either allocate a buffer or make a static buffer; and if you don't
know how long a particular string may be, you might be doing a lot of
extra work that would be unnecessary with the full set.
  vsprintf has saved my butt several times, but I'm glad ORCA/C 2.0
finally has the full set.
  [ Oh.. the one thing that really irked me about the vsprintf lib
    is that no source was included with which to make the other two. ]
-- 
 Jawaid Bazyar              |   Ask me about the GNO Multitasking Environment
 Procyon, Inc.              |   for the Apple IIgs!   
 bazyar@cs.uiuc.edu         |   P.O Box 620334
 --Apple II Forever!--      |   Littleton, CO 80162-0334   (303) 933-4649
Technical Details
Message-ID: <bazyar.726880906@teal>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!boulder!csn!teal!bazyar
References: <1itnpuINNct7@charnel.ecst.csuchico.edu> <bazyar.726824498@teal> <1993Jan12.183437.17386@orlith.bates.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.apple2.gno
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!boulder!csn!teal!bazyar
From: bazyar@teal.csn.org (Jawaid Bazyar)
Subject: Re: varargs lib?
Message-ID: <bazyar.726880906@teal>
Sender: news@csn.org (news)
Nntp-Posting-Host: teal.csn.org
Organization: Colorado SuperNet, Inc.
References: <1itnpuINNct7@charnel.ecst.csuchico.edu> <bazyar.726824498@teal> <1993Jan12.183437.17386@orlith.bates.edu>
Date: Tue, 12 Jan 1993 23:21:46 GMT
Lines: 26