view gsm-fw/sprintf/old/vsprintf.c @ 647:a60b375014e3

gsm-fw/L1/cust0/l1_cust.c: s/CONFIG_GSM/CONFIG_INCLUDE_SIM/
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 04 Sep 2014 05:40:55 +0000
parents 7e45ada9c365
children
line wrap: on
line source

#include <stdarg.h>

int
vsprintf(str, fmt, ap)
	va_list ap;
	char *str, *fmt;
{
	char *strptr;
	int len;

	strptr = str;
	len = _doprnt(fmt, ap, &strptr);
	*strptr = '\0';
	return(len);
}