Searched defs:man (Results 1 - 12 of 12) sorted by relevance

/illumos-gate/usr/src/cmd/mandoc/
H A Dmanconf.h26 /* Data from -O options and man.conf(5) output directives. */
30 char *man; member in struct:manoutput
H A Dman.c1 /* $Id: man.c,v 1.166 2015/10/22 21:54:23 schwarze Exp $ */
33 #include "man.h"
59 man_parseln(struct roff_man *man, int ln, char *buf, int offs) argument
62 if (man->last->type != ROFFT_EQN || ln > man->last->line)
63 man->flags |= MAN_NEWLINE;
65 return roff_getcontrol(man->roff, buf, &offs) ?
66 man_pmacro(man, ln, buf, offs) :
67 man_ptext(man, ln, buf, offs);
71 man_descope(struct roff_man *man, in argument
91 man_ptext(struct roff_man *man, int line, char *buf, int offs) argument
159 man_pmacro(struct roff_man *man, int ln, char *buf, int offs) argument
259 man_breakscope(struct roff_man *man, int tok) argument
329 man_mparse(const struct roff_man *man) argument
337 man_state(struct roff_man *man, struct roff_node *n) argument
363 man_validate(struct roff_man *man) argument
[all...]
H A Dman_macro.c30 #include "man.h"
88 man_unscope(struct roff_man *man, const struct roff_node *to) argument
93 n = man->last;
99 if (man->flags & (MAN_BLINE | MAN_ELINE) &&
102 man->parse, n->line, n->pos,
105 if (man->flags & MAN_ELINE)
106 man->flags &= ~MAN_ELINE;
110 man->flags &= ~MAN_BLINE;
112 man->last = n;
114 roff_node_delete(man, ma
153 rew_scope(struct roff_man *man, int tok) argument
392 man_endparse(struct roff_man *man) argument
400 man_args(struct roff_man *man, int line, int *pos, char *buf, char **v) argument
[all...]
H A Dman_validate.c34 #include "man.h"
39 #define CHKARGS struct roff_man *man, struct roff_node *n
100 man_node_validate(struct roff_man *man) argument
105 n = man->last;
106 man->last = man->last->child;
107 while (man->last != NULL) {
108 man_node_validate(man);
109 if (man->last == n)
110 man
[all...]
H A Dtree.c31 #include "man.h"
48 tree_man(void *arg, const struct roff_man *man) argument
51 print_man(man->first->child, 0);
H A Dman_html.c30 #include "man.h"
40 #define MAN_ARGS const struct roff_meta *man, \
147 html_man(void *arg, const struct roff_man *man) argument
162 print_man_head(&man->meta, man->first, &mh, h);
169 print_man_nodelist(&man->meta, man->first, &mh, h);
179 assert(man->title);
180 assert(man->msec);
181 bufcat_fmt(h, "%s(%s)", man
[all...]
H A Dman_term.c32 #include "man.h"
141 terminal_man(void *arg, const struct roff_man *man) argument
157 n = man->first->child;
166 &man->meta);
175 term_begin(p, print_man_head, print_man_foot, &man->meta);
178 print_man_nodelist(p, &mt, n, &man->meta);
1005 * -man doesn't have nested macros, we don't need to be
H A Dread.c46 #include "man.h"
53 struct roff_man *man; /* man parser */ member in struct:mparse
267 * If neither command line arguments -mdoc or -man select
294 if (curp->man == NULL) {
295 curp->man = roff_man_alloc(curp->roff, curp, curp->defos,
297 curp->man->macroset = MACROSET_MAN;
298 curp->man->first->tok = TOKEN_NONE;
303 curp->man->macroset = MACROSET_MDOC;
304 curp->man
875 mparse_result(struct mparse *curp, struct roff_man **man, char **sodest) argument
[all...]
H A Dmain.c48 #include "man.h"
325 * and for a man(1) section argument without -s.
353 /* man(1), whatis(1), apropos(1) */
394 * For standard man(1) and -a output mode,
432 * For man(1), -a and -i output mode, fall through
608 fputs("usage: man [-acfhklw] [-C file] [-I os=name] "
639 mandoc_asprintf(&file, "%s/man%s/%s.%s",
654 mandoc_asprintf(&file, "%s/man%s/%s/%s.%s",
661 mandoc_asprintf(&file, "%s/man%s/%s.[01-9]*",
729 struct roff_man *man; local
[all...]
H A Dmdoc_man.c29 #include "man.h"
254 #define MMAN_nl (1 << 2) /* break man(7) code line */
535 man_man(void *arg, const struct roff_man *man) argument
543 fputs(mparse_getkeep(man_mparse(man)), stdout);
H A Droff.c333 int format; /* current file in mdoc or man format */
918 roff_man_free1(struct roff_man *man) argument
921 if (man->first != NULL)
922 roff_node_delete(man, man->first);
923 free(man->meta.msec);
924 free(man->meta.vol);
925 free(man->meta.os);
926 free(man->meta.arch);
927 free(man
933 roff_man_alloc1(struct roff_man *man) argument
948 roff_man_reset(struct roff_man *man) argument
956 roff_man_free(struct roff_man *man) argument
967 struct roff_man *man; local
981 roff_node_alloc(struct roff_man *man, int line, int pos, enum roff_type type, int tok) argument
1005 roff_node_append(struct roff_man *man, struct roff_node *n) argument
1055 roff_word_alloc(struct roff_man *man, int line, int pos, const char *word) argument
1070 roff_word_append(struct roff_man *man, const char *word) argument
1085 roff_elem_alloc(struct roff_man *man, int line, int pos, int tok) argument
1095 roff_block_alloc(struct roff_man *man, int line, int pos, int tok) argument
1106 roff_head_alloc(struct roff_man *man, int line, int pos, int tok) argument
1117 roff_body_alloc(struct roff_man *man, int line, int pos, int tok) argument
1128 roff_addeqn(struct roff_man *man, const struct eqn *eqn) argument
1141 roff_addtbl(struct roff_man *man, const struct tbl_span *tbl) argument
1158 roff_node_unlink(struct roff_man *man, struct roff_node *n) argument
1207 roff_node_delete(struct roff_man *man, struct roff_node *n) argument
[all...]
/illumos-gate/usr/src/cmd/power/
H A Dhandlers.c82 isonlist(char *listname, const char *man, const char *prod) argument
88 sl.pms_manufacturer = (char *)man;
92 listname, man, prod, ret);

Completed in 98 milliseconds