- for (nn = n->child; nn; nn = nn->next) {
- term_fontpush(p, TERMFONT_BOLD);
- term_word(p, nn->string);
- term_fontpop(p);
- p->flags |= TERMP_NOSPACE;
- if (nn->next && NULL == nn->next->next)
- term_word(p, "(), and");
- else if (nn->next)
- term_word(p, "(),");
- else
- term_word(p, "()");
- }
-
- if (n->child && n->child->next)
- term_word(p, "functions return");
- else
- term_word(p, "function returns");
-
- term_word(p, "the value 0 if successful; otherwise the value "
- "-1 is returned and the global variable");
-
- term_fontpush(p, TERMFONT_UNDER);
- term_word(p, "errno");
- term_fontpop(p);
-
- term_word(p, "is set to indicate the error.");
- p->flags |= TERMP_SENTENCE;
-
- return(0);
-}
-
-
-/* ARGSUSED */
-static int
-termp_ex_pre(DECL_ARGS)
-{
- const struct mdoc_node *nn;
-
- term_word(p, "The");
-
- for (nn = n->child; nn; nn = nn->next) {
- term_fontpush(p, TERMFONT_BOLD);
- term_word(p, nn->string);
- term_fontpop(p);
- p->flags |= TERMP_NOSPACE;
- if (nn->next && NULL == nn->next->next)
- term_word(p, ", and");
- else if (nn->next)
- term_word(p, ",");
- else
- p->flags &= ~TERMP_NOSPACE;
- }
-
- if (n->child && n->child->next)
- term_word(p, "utilities exit");
- else
- term_word(p, "utility exits");
-
- term_word(p, "0 on success, and >0 if an error occurs.");
- p->flags |= TERMP_SENTENCE;
-
- return(0);
-}
-
-
-/* ARGSUSED */