cextern/cfitsio/lib/eval_l.c
/* Initializes or reinitializes a buffer.
 * This function is sometimes called more than once on the same buffer,
 * such as during a ffrestart() or at EOF.
 */
Initializes or reinitializes a buffer.
This function is sometimes called more than once on the same buffer,
such as during a ffrestart() or at EOF.
Initializes or reinitializes a buffer . This function is sometimes called more than once on the same buffer such as during a ffrestart () or at EOF .
static void ff_init_buffer  (FF_BUFFER_STATE  b, FILE * file )
{
	int oerrno = errno;
	ff_flush_buffer(b );
	b->ff_input_file = file;
	b->ff_fill_buffer = 1;
    if (b != FF_CURRENT_BUFFER){
        b->ff_bs_lineno = 1;
        b->ff_bs_column = 0;
    }
        b->ff_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
	errno = oerrno;
}
static void ff_init_buffer ( FF_BUFFER_STATE b , FILE * file ) { int oerrno = errno ; ff_flush_buffer ( b ) ; b -> ff_input_file = file ; b -> ff_fill_buffer = 1 ; if ( b != FF_CURRENT_BUFFER ) { b -> ff_bs_lineno = 1 ; b -> ff_bs_column = 0 ; } b -> ff_is_interactive = file ? ( isatty ( fileno ( file ) ) > 0 ) : 0 ; errno = oerrno ; }
Initializes or reinitializes a buffer.
Initializes or reinitializes a buffer .
/* If b is the current buffer, then ff_init_buffer was _probably_
     * called from ffrestart() or through ff_get_next_buffer.
     * In that case, we don't want to reset the lineno or column.
     */