PUTBAK(3F) UNIX Programmer's Manual PUTBAK(3F) NAME putbak - push character back into a file SYNTAX character*1 c integer fileid putbak(c, fileid) DESCRIPTION _P_u_t_b_a_k pushes the character _c back on the input file associ- ated with _f_i_l_e_i_d. That character will be returned by the next _g_e_t_c(3F) call on that file. One character of pushback is guaranteed provided something has been read from the file and the file is actually buf- fered. Attempts to put back EOF are rejected. _S_e_e_k(3F) erases all memory of pushed back characters. SEE ALSO getc(3F), seek(3F) AUTHOR Bruce Julian, U.S. Geological Survey, Menlo Park, California Printed 5/17/83 1