- Move source code from `trunk` into program root directory. - Update build files and include paths. - Note: Line endings standardised from `CRLF` > `LF`, so best to view diffs with whitespace changes hidden.
12 lines
198 B
C
12 lines
198 B
C
#include <stdio.h>
|
|
#include <errno.h>
|
|
#include <sys/ksys.h>
|
|
|
|
int fputc(int c, FILE *stream)
|
|
{
|
|
if(fwrite(&c, sizeof(char), 1, stream)==1){
|
|
return c;
|
|
}else{
|
|
return EOF;
|
|
}
|
|
} |