Subversion Repositories Kolibri OS

Rev

Rev 8687 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8687 Rev 8730
Line 2... Line 2...
2
#include 
2
#include 
3
#include 
3
#include 
Line 4... Line 4...
4
 
4
 
5
int fputc(int c, FILE *stream)
5
int fputc(int c, FILE *stream)
6
{
6
{
7
    if(fwrite(&c, sizeof(int), 1, stream)==1){
7
    if(fwrite(&c, sizeof(char), 1, stream)==1){
8
        return c;
8
        return c;
9
    }else{
9
    }else{
10
        return EOF;
10
        return EOF;
11
    }
11
    }
12
}
12
}