version 1.61, 2014/04/20 16:44:44 |
version 1.62, 2014/04/20 19:39:35 |
|
|
if (Bl_stack_len) |
if (Bl_stack_len) |
sz += Bl_stack[Bl_stack_len - 1]; |
sz += Bl_stack[Bl_stack_len - 1]; |
|
|
snprintf(buf, sizeof(buf), "%zun", sz); |
(void)snprintf(buf, sizeof(buf), "%zun", sz); |
print_word(buf); |
print_word(buf); |
outflags |= MMAN_nl; |
outflags |= MMAN_nl; |
} |
} |
|
|
remain = sz + 2; |
remain = sz + 2; |
} |
} |
if (numeric) { |
if (numeric) { |
snprintf(buf, sizeof(buf), "%zun", sz + 2); |
(void)snprintf(buf, sizeof(buf), "%zun", sz + 2); |
print_word(buf); |
print_word(buf); |
} else |
} else |
print_word(v); |
print_word(v); |
|
|
static void |
static void |
print_count(int *count) |
print_count(int *count) |
{ |
{ |
char buf[12]; |
char buf[24]; |
|
|
snprintf(buf, sizeof(buf), "%d.", ++*count); |
(void)snprintf(buf, sizeof(buf), "%d.", ++*count); |
print_word(buf); |
print_word(buf); |
} |
} |
|
|
|
|
|
|
/* Restore the indentation of the enclosing list. */ |
/* Restore the indentation of the enclosing list. */ |
print_line(".RS", MMAN_Bk_susp); |
print_line(".RS", MMAN_Bk_susp); |
snprintf(buf, sizeof(buf), "%zun", Bl_stack[Bl_stack_len - 1]); |
(void)snprintf(buf, sizeof(buf), "%zun", |
|
Bl_stack[Bl_stack_len - 1]); |
print_word(buf); |
print_word(buf); |
|
|
/* Remeber to close out this .RS block later. */ |
/* Remeber to close out this .RS block later. */ |