Xinu7/man/man3/fputc.doc




FPUTC(3)            Xinu Programmer's Manual             FPUTC(3)



NAME
     fputc, putchar - put character to a device

SYNOPSIS
     #include <io.h>

     int fputc(device, c)
     int device;
     char c;
     putchar(c)

DESCRIPTION
     These procedures are included for compatibility with UNIX.
     _F_p_u_t_c appends the character _c to the named output _d_e_v_i_c_e,
     and returns SYSERR if device is invalid; it is defined to be
     _p_u_t_c(_d_e_v_i_c_e, _c).

     _P_u_t_c_h_a_r(_c) is also defined to be _p_u_t_c(_C_O_N_S_O_L_E, _c).

SEE ALSO
     putc(2), puts(3), printf(3)


































Version 6b               Printed 1/12/87                        1