sprintf container
From: vertigo (none_at_microsoft.com)
Date: 08/27/04
- Next message: Måns Rullgård: "Re: Using Linux Syscalls"
- Previous message: Jan Richter: "Re: Using Linux Syscalls"
- Next in thread: Måns Rullgård: "Re: sprintf container"
- Reply: Måns Rullgård: "Re: sprintf container"
- Reply: Pascal Bourguignon: "Re: sprintf container"
- Reply: Jens.Toerring_at_physik.fu-berlin.de: "Re: sprintf container"
- Reply: sean larsson: "Re: sprintf container"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 27 Aug 2004 11:48:53 +0200
Hello
I want to write function which will return me string
formatted by sprintf:
char* sprintf_container(const char *format,...){
str=malloc('what size' ??);
sprintf(str,format,???);
return str;
}
But how should i pass other parameters to sprintf ?
Thanx
Michal
- Next message: Måns Rullgård: "Re: Using Linux Syscalls"
- Previous message: Jan Richter: "Re: Using Linux Syscalls"
- Next in thread: Måns Rullgård: "Re: sprintf container"
- Reply: Måns Rullgård: "Re: sprintf container"
- Reply: Pascal Bourguignon: "Re: sprintf container"
- Reply: Jens.Toerring_at_physik.fu-berlin.de: "Re: sprintf container"
- Reply: sean larsson: "Re: sprintf container"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]