a C standard library for fx Casio calculators
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fxlibc/src/libc/stdio/putc.c

12 lines
130 B

#include <stdio.h>
#include <unistd.h>
2 years ago
int putchar(int c)
2 years ago
{
char n;
n = (char)c;
write(STDOUT_FILENO, &n, 1);
return (n);
}