fiss

Friedel's Initialization and Service Supervision
Log | Files | Refs | LICENSE

runesprint.c (323B)


      1 /* Copyright (c) 2002-2006 Lucent Technologies; see LICENSE */
      2 #include "fmt.h"
      3 #include "fmtdef.h"
      4 #include "plan9.h"
      5 
      6 #include <stdarg.h>
      7 #include <string.h>
      8 
      9 int runesprint(Rune* buf, char* fmt, ...) {
     10 	int     n;
     11 	va_list args;
     12 
     13 	va_start(args, fmt);
     14 	n = runevsnprint(buf, 256, fmt, args);
     15 	va_end(args);
     16 	return n;
     17 }