aboutsummaryrefslogtreecommitdiff
path: root/doc/grecs_format_value.3
diff options
context:
space:
mode:
Diffstat (limited to 'doc/grecs_format_value.3')
-rw-r--r--doc/grecs_format_value.326
1 files changed, 18 insertions, 8 deletions
diff --git a/doc/grecs_format_value.3 b/doc/grecs_format_value.3
index e4b45fa..918e972 100644
--- a/doc/grecs_format_value.3
+++ b/doc/grecs_format_value.3
@@ -14,7 +14,7 @@
.\" You should have received a copy of the GNU General Public License
.\" along with Grecs. If not, see <http://www.gnu.org/licenses/>.
.\"
-.TH GRECS_FORMAT_VALUE 3 "May 4, 2011" "GRECS" "Grecs User Reference"
+.TH GRECS_FORMAT_VALUE 3 "May 19, 2011" "GRECS" "Grecs User Reference"
.SH NAME
grecs_format_value \- format and output a configuration value
.SH SYNOPSIS
@@ -22,21 +22,31 @@ grecs_format_value \- format and output a configuration value
.B #include <grecs.h>
.sp
.BI "void grecs_format_value(struct grecs_value *" "val" ", int " \
+ "flags" ", "
+.ti +17
+.BI "struct grecs_format_closure " "*clos" );
+.sp
+.BI "void grecs_print_value(struct grecs_value *" "val" ", int " \
"flags" ", FILE " "*fp" );
.SH DESCRIPTION
-\fBgrecs_format_value\fR formats and outputs to the file \fBfp\fR the
-value \fIval\fR. The \fIflags\fR argument describes how to format the
-value. See
+\fBgrecs_format_value\fR formats the value \fIval\fR and outputs it
+using the formatting closure \fIclos\fR. The \fIflags\fR argument
+describes how to format the value. See
.BR grecs_format_node (3),
for a discussion of available flags.
+.PP
+\fBgrecs_print_value\fR is an alternative interface that outputs the
+formatted data to a file.
.SH "RETURN VALUE"
None.
.SH NOTES
-This is an auxiliary function used by
-.BR grecs_format_node (3).
-It is seldom needed in user programs.
-.SH "SEE ALSO"
+This are auxiliary functions used by
.BR grecs_format_node (3)
+and
+.BR grecs_print_node (3),
+correspondingly. They are is seldom needed in user programs.
+.SH "SEE ALSO"
+.BR grecs_format_node (3).
.SH AUTHORS
Sergey Poznyakoff
.SH "BUG REPORTS"

Return to:

Send suggestions and report system problems to the System administrator.