* include/stdio.h (vscanf): Add prototype. (vfscanf): Ditto. (vsscanf): Ditto. (vwscanf): Ditto. (vfwscanf): Ditto. (vswscanf): Ditto. * include/wchar.h (vwscanf): Add prototype. (vfwscanf): Ditto. (vswscanf): Ditto. * mingwex/snprintf.c: Move to mingwex/stdio. * mingwex/vsnprintf.c: Ditto. * mingwex/snwprintf.c: Ditto. * mingwex/vsnwprintf.c: Ditto. * mingwex/Makefile.in (VPATH): Add $(srcdir)/stdio (STDIO_DISTFILES): Add. (DISTFILES): Adjust. (STDIO_STUB_OBJS): Rename to STDIO_OBJS and add v*scanf objects. (LIB_OBJS): Adjust. (dist): Adjust. 2003-03-02 Aaron W LaFramboise <AWLaFramboise@aol.com> * mingwex/stdio: New directory * mingwex/stdio/vfscanf.c: New file. * mingwex/stdio/vfwscanf.c: New file. * mingwex/stdio/vscanf.c: New file. * mingwex/stdio/vsscanf.c: New file. * mingwex/stdio/vswscanf.c: New file. * mingwex/stdio/vwscanf.c: New file.
		
			
				
	
	
		
			14 lines
		
	
	
		
			267 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			267 B
		
	
	
	
		
			C
		
	
	
	
	
	
#include <stdarg.h>
 | 
						|
#include <stdio.h>
 | 
						|
 | 
						|
int snprintf(char* buffer, size_t n, const char* format, ...)
 | 
						|
{
 | 
						|
  int retval;
 | 
						|
  va_list argptr;
 | 
						|
         
 | 
						|
  va_start( argptr, format );
 | 
						|
  retval = _vsnprintf( buffer, n, format, argptr );
 | 
						|
  va_end( argptr );
 | 
						|
  return retval;
 | 
						|
}
 |