diff options
author | Tobias Weingartner <weingart@cvs.openbsd.org> | 2007-09-13 03:44:22 +0000 |
---|---|---|
committer | Tobias Weingartner <weingart@cvs.openbsd.org> | 2007-09-13 03:44:22 +0000 |
commit | c396ec33549c2f0796a0b5431277bc2616707bc7 (patch) | |
tree | 22d43e45f8389b3e4a4a96a263b2ee643e7a3b42 /share | |
parent | 0e52d98879cbe68304cec52cb172d1c5f6eff44c (diff) |
Update manpage to reflect new return code from function.
Thanks to mk@ for reminding me.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/aml_evalnode.9 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/share/man/man9/aml_evalnode.9 b/share/man/man9/aml_evalnode.9 index 93bb242f14b..6d70d56d5fc 100644 --- a/share/man/man9/aml_evalnode.9 +++ b/share/man/man9/aml_evalnode.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: aml_evalnode.9,v 1.5 2007/05/31 19:20:00 jmc Exp $ +.\" $OpenBSD: aml_evalnode.9,v 1.6 2007/09/13 03:44:21 weingart Exp $ .\" .\" Copyright (c) 2007 Michael Knudsen <mk@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: September 13 2007 $ .Dt AML_EVALNODE 9 .Os .Sh NAME @@ -39,7 +39,7 @@ "struct aml_value *res" .Ft int .Fn "aml_find_node" "struct aml_node *node" "const char *name" \ -"void (*cbproc)(struct aml_node *, void *arg)" "void *arg" +"int (*cbproc)(struct aml_node *, void *arg)" "void *arg" .Ft void .Fn "aml_freevalue" "struct aml_value *val" .Ft int64_t @@ -108,7 +108,8 @@ parameter is called with the node and as the first and second parameters, respectively. The function specified as the .Pa cbproc -parameter does not return any value. +parameter returns a value that specifies if the tree walk +should be terminated (!0) or continued (0) with the children. .Fn aml_find_node always returns 0. .Pp |