summaryrefslogtreecommitdiffabout
path: root/doc/grecs_tree_free.3
authorSergey Poznyakoff <gray@gnu.org.ua>2011-05-04 17:10:36 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2011-05-04 18:41:39 (GMT)
commita60eb4b18345626a84e23784d77ca231812e1dff (patch) (side-by-side diff)
tree80192afeadd44b073958c2762491cc7dfea778a1 /doc/grecs_tree_free.3
parentb65bfa7564f564f85d3c595c6c1030af2acf5056 (diff)
downloadgrecs-a60eb4b18345626a84e23784d77ca231812e1dff.tar.gz
grecs-a60eb4b18345626a84e23784d77ca231812e1dff.tar.bz2
Improve docs. Add an option to create installable distribution.
Diffstat (limited to 'doc/grecs_tree_free.3') (more/less context) (ignore whitespace changes)
-rw-r--r--doc/grecs_tree_free.361
1 files changed, 61 insertions, 0 deletions
diff --git a/doc/grecs_tree_free.3 b/doc/grecs_tree_free.3
new file mode 100644
index 0000000..527995a
--- a/dev/null
+++ b/doc/grecs_tree_free.3
@@ -0,0 +1,61 @@
+.\" This file is part of grecs -*- nroff -*-
+.\" Copyright (C) 2007, 2009-2011 Sergey Poznyakoff
+.\"
+.\" Grecs is free software; you can redistribute it and/or modify
+.\" it under the terms of the GNU General Public License as published by
+.\" the Free Software Foundation; either version 3, or (at your option)
+.\" any later version.
+.\"
+.\" Grecs is distributed in the hope that it will be useful,
+.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
+.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+.\" GNU General Public License for more details.
+.\"
+.\" You should have received a copy of the GNU General Public License
+.\" along with Grecs. If not, see <http://www.gnu.org/licenses/>.
+.\" This file is part of SLB.
+.\" Copyright (C) 2011 Sergey Poznyakoff
+.\"
+.TH GRECS_XXX 3 "May 4, 2011" "GRECS" "Grecs User Reference"
+.SH NAME
+grecs_tree_free \- reclaim the memory used by entire parse tree
+.SH SYNOPSIS
+.nf
+.B #include <grecs.h>
+.sp
+.BI "void grecs_tree_free(struct grecs_node " "*node" );
+.SH DESCRIPTION
+\fBgrecs_tree_free\fR reclaims the memory used by \fInode\fR and all
+nodes it points to, recursively.
+.PP
+The argument \fInode\fR must be the root of a parse tree.
+.SH "RETURN VALUE"
+None.
+.SH "SEE ALSO"
+.BR grecs_parse (3),
+.BR grecs_node_free (3).
+.SH AUTHORS
+Sergey Poznyakoff
+.SH "BUG REPORTS"
+Report bugs to <gray+grecs@gnu.org.ua>.
+.SH COLOPHON
+The \fBGrecs\fR library is constantly changing, so this manual page
+may be incorrect or out-of-date. For the latest copy of \fBGrecs\fR
+documentation, visit <http://www.gnu.org.ua/software/grecs>.
+.SH COPYRIGHT
+Copyright \(co 2011 Sergey Poznyakoff
+.br
+.na
+License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
+.br
+.ad
+This is free software: you are free to change and redistribute it.
+There is NO WARRANTY, to the extent permitted by law.
+.\" Local variables:
+.\" eval: (add-hook 'write-file-hooks 'time-stamp)
+.\" time-stamp-start: ".TH [A-Z_][A-Z0-9_]* [0-9] \""
+.\" time-stamp-format: "%:B %:d, %:y"
+.\" time-stamp-end: "\""
+.\" time-stamp-line-limit: 20
+.\" end:
+

Return to:

Send suggestions and report system problems to the System administrator.