Initial import of the CDE 2.1.30 sources from the Open Group.

This commit is contained in:
Peter Howkins
2012-03-10 18:21:40 +00:00
commit 83b6996daa
18978 changed files with 3945623 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
// $XConsortium: stream.C /main/4 1996/08/21 15:55:05 drk $
#include <stdio.h>
#include <stdarg.h>
#include "utility/c_stream.h"
char* form(const char* fmt ...)
{
static char buf[1024];
va_list args;
va_start(args, fmt);
(void) vsprintf(buf, fmt, args);
va_end(args);
return buf;
}