source: abuse/branches/pd/imlib/port/x11/monoprnt.c @ 528

Last change on this file since 528 was 49, checked in by Sam Hocevar, 15 years ago
  • Imported original public domain release, for future reference.
  • Property svn:keywords set to Id
File size: 379 bytes
Line 
1#include <stdio.h>
2#include <stdarg.h>
3#include <unistd.h>
4#include <sys/types.h>
5#include <fcntl.h>
6#include "macs.hpp"
7
8int monofd=-1;
9
10
11void mnclear()
12{
13  int i;
14  for (i=0;i<25;i++);
15   printf("\n");
16}
17
18void mnprintf(const char *format, ...)
19{
20  char st[200],a,*sp;
21  int y;
22  va_list ap;
23  va_start(ap, format);
24  vsprintf(st,format,ap);
25  va_end(ap);
26  printf("%s",st);
27}
Note: See TracBrowser for help on using the repository browser.