4 ** Ullrich von Bassewitz, 02.06.1998
15 /*****************************************************************************/
17 /*****************************************************************************/
21 int __fastcall__ fputc (int c, register FILE* f)
23 /* Check if the file is open or if there is an error condition */
24 if ((f->f_flags & _FOPEN) == 0 || (f->f_flags & (_FERROR | _FEOF)) != 0) {
29 if (write (f->f_fd, &c, 1) != 1) {
31 f->f_flags |= _FERROR;
36 /* Return the byte written */