blob: f3fcf01d743ddb776142a4189bf81f1e2c7dbb5c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//===-- putchar.c ---------------------------------------------------------===//
//
// The KLEE Symbolic Virtual Machine
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include <stdio.h>
#include <unistd.h>
int putchar(int c) {
char x = c;
write(1, &x, 1);
return 1;
}
|