Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #3044

Re: How to use asprintf consecutively

From Martin Ambuhl <mambuhl@earthlink.net>
Newsgroups comp.lang.c
Subject Re: How to use asprintf consecutively
Date 2011-04-29 11:59 -0400
Organization A noiseless patient Spider
Message-ID <ipen9k$dsk$1@dont-email.me> (permalink)
References <48eee806-963d-4e35-baab-0ceb43396071@q32g2000yqn.googlegroups.com>

Show all headers | View raw


On 4/29/2011 5:22 AM, pozz wrote:
> I have to create a long string composed by many fields, for example
> integers. I don't know the numbers of fields, so I don't know the
> length of the string.
>
> I think asprintf() could be useful for such thing, so I started
> writing the following code:

Was I asleep when asprintf() was added to the standard library?

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to use asprintf consecutively pozz <pozzugno@gmail.com> - 2011-04-29 02:22 -0700
  Re: How to use asprintf consecutively gordonb.xpugx@burditt.org (Gordon Burditt) - 2011-04-29 05:21 -0500
  Re: How to use asprintf consecutively Ike Naar <ike@sverige.freeshell.org> - 2011-04-29 15:20 +0000
  Re: How to use asprintf consecutively Martin Ambuhl <mambuhl@earthlink.net> - 2011-04-29 11:59 -0400
    Re: How to use asprintf consecutively gazelle@shell.xmission.com (Kenny McCormack) - 2011-04-29 22:40 +0000
  Re: How to use asprintf consecutively Ben Bacarisse <ben.usenet@bsb.me.uk> - 2011-04-29 17:19 +0100
  Re: How to use asprintf consecutively Seebs <usenet-nospam@seebs.net> - 2011-04-29 22:38 +0000

csiph-web