Subversion Repositories SvarDOS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
219 mateuszvis 1
/*
2
 * This file provides dummy functions that simulate kitten-enabled routines
3
 * without actually having kitten.
4
 *
5
 * Copyright (C) 2015-2016 Mateusz Viste
6
 */
7
 
8
#include <stdio.h>    /* vprintf() */
9
#include <stdarg.h>   /* va_list, va_start()... */
10
 
11
#include "kprintf.h"
12
 
13
void kitten_printf(short x, short y, char *fmt, ...) {
14
  va_list args;
15
  va_start(args, fmt);
16
  vprintf(fmt, args);
17
  va_end(args);
18
  x = y;
19
}
20
 
21
void kitten_puts(short x, short y, char *fmt) {
22
  x = y;
23
  puts(fmt);
24
}