version 1.6, 2010/07/07 15:04:54 |
version 1.8, 2010/08/20 01:02:07 |
|
|
.\" $Id$ |
.\" $Id$ |
.\" |
.\" |
.\" Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv> |
.\" Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv> |
.\" Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org> |
|
.\" |
.\" |
.\" Permission to use, copy, modify, and distribute this software for any |
.\" Permission to use, copy, modify, and distribute this software for any |
.\" purpose with or without fee is hereby granted, provided that the above |
.\" purpose with or without fee is hereby granted, provided that the above |
|
|
.Ft "struct roff *" |
.Ft "struct roff *" |
.Fo roff_alloc |
.Fo roff_alloc |
.Fa "struct regset *regs" |
.Fa "struct regset *regs" |
.Fa "mandocmsg msgs" |
|
.Fa "void *data" |
.Fa "void *data" |
|
.Fa "mandocmsg msgs" |
.Fc |
.Fc |
.Ft int |
.Ft int |
.Fn roff_endparse "struct roff *roff" |
.Fn roff_endparse "struct roff *roff" |
|
|
.Fa data |
.Fa data |
pointer is passed to |
pointer is passed to |
.Fa msgs . |
.Fa msgs . |
The |
|
.Fa pflags |
|
arguments are defined in |
|
.Pa roff.h . |
|
Returns NULL on failure. |
Returns NULL on failure. |
If non-NULL, the pointer must be freed with |
If non-NULL, the pointer must be freed with |
.Fn roff_free . |
.Fn roff_free . |