usr.bin/col/col.c
void
flush_blanks(void)
{
	int half, i, nb;

	half = 0;
	nb = nblank_lines;
	if (nb & 1) {
		if (fine)
			half = 1;
		else
			nb++;
	}
	nb /= 2;
	for (i = nb; --i >= 0;)
		PUTC('\n');
	if (half) {
		PUTC('\033');
		PUTC('9');
		if (!nb)
			PUTC('\r');
	}
	nblank_lines = 0;
}
/*
 * Print a number of newline/half newlines.  If fine flag is set, nblank_lines
 * is the number of half line feeds, otherwise it is the number of whole line
 * feeds.
 */
Print a number of newline/half newlines.  If fine flag is set, nblank_lines
is the number of half line feeds, otherwise it is the number of whole line
feeds.
Print a number of newline / half newlines . If fine flag is set nblank_lines is the number of half line feeds otherwise it is the number of whole line feeds .
void
flush_blanks(void)
{
	int half, i, nb;
	half = 0;
	nb = nblank_lines;
	if (nb & 1) {
		if (fine)
			half = 1;
		else
			nb++;
	}
	nb /= 2;
	for (i = nb; --i >= 0;)
		PUTC('\n');
	if (half) {
		PUTC('\033');
		PUTC('9');
		if (!nb)
			PUTC('\r');
	}
	nblank_lines = 0;
}
void flush_blanks ( void ) { int half , i , nb ; half = 0 ; nb = nblank_lines ; if ( nb & 1 ) { if ( fine ) half = 1 ; else nb ++ ; } nb /= 2 ; for ( i = nb ; -- i >= 0 ; ) PUTC ( ' \n ' ) ; if ( half ) { PUTC ( ' \033 ' ) ; PUTC ( ' ' ) ; if ( ! nb ) PUTC ( ' \r ' ) ; } nblank_lines = 0 ; }
Print a number of newline/half newlines.
Print a number of newline / half newlines .