예제 #1
0
파일: ex_put.c 프로젝트: chungy/ex-vi
/*
 * Print a line with a number.
 */
int
numbline(int i, int max)
{

	if (shudclob)
		slobber(' ');
	max -= printf("%6d  ", i);
	return normline(0, max);
}
예제 #2
0
파일: ex_put.c 프로젝트: n-t-roff/ex-3.7
/*
 * Print a line with a number.
 */
void
numbline(int i)
{

	if (shudclob)
		slobber(' ');
	ex_printf("%6d  ", i);
	normline();
}