[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/42413: Wrong signature for prop_dictionary_ensure_capacity() in man page
>Synopsis: Wrong signature for prop_dictionary_ensure_capacity() in man
>Arrival-Date: Sat Dec 05 02:30:00 +0000 2009
>Originator: Silas Silva
prop_dictionary(3) informs two different signatures for the
prop_dictionary_ensure_capacity() function. One in the SYNOPSIS section (the
correct one, I think) and a different signature in the DESCRIPTION section (it
lacks the "capacity" parameter).
Apply this patch in src/common/lib/libprop:
--- prop_dictionary.3.orig 2009-12-05 00:05:18.000000000 -0200
+++ prop_dictionary.3 2009-12-05 00:13:54.000000000 -0200
@@ -165,7 +165,8 @@
except the resulting dictionary is always mutable.
.It Fn prop_dictionary_count "prop_dictionary_t dict"
Returns the number of objects stored in the dictionary.
-.It Fn prop_dictionary_ensure_capacity "prop_dictionary_t dict"
+.It Fn prop_dictionary_ensure_capacity "prop_dictionary_t dict" \
+ "unsigned int capacity"
Ensure that the dictionary has a total capacity of
.Fa capacity ,
including objects already stored in the dictionary.
Main Index |
Thread Index |