//===-- 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 #include // Some header may #define putchar. #undef putchar int putchar(int c) { char x = c; if (1 == write(1, &x, 1)) return c; return EOF; }