X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fman%2Fhashkit_is_allocated.3;h=ce891ac69c0ba825704c536ee744c4098fc2e831;hb=5a6dd35a036e60a1e51d2bffbde6b5fb0064e65d;hp=9e22b49cb6bad674b63d529b684a3f9a6d38f172;hpb=f19d17ca4cd851c81c005b68c82b17c3c21b6846;p=awesomized%2Flibmemcached diff --git a/docs/man/hashkit_is_allocated.3 b/docs/man/hashkit_is_allocated.3 index 9e22b49c..ce891ac6 100644 --- a/docs/man/hashkit_is_allocated.3 +++ b/docs/man/hashkit_is_allocated.3 @@ -1,4 +1,4 @@ -.TH "HASHKIT_IS_ALLOCATED" "3" "October 18, 2011" "1.01" "libmemcached" +.TH "HASHKIT_IS_ALLOCATED" "3" "September 16, 2012" "1.0.10" "libmemcached" .SH NAME hashkit_is_allocated \- libhashkit Documentation . @@ -39,46 +39,46 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .UNINDENT .INDENT 0.0 .TP -.B hashkit_st *hashkit_create(hashkit_st *hash); +.B \fI\%hashkit_st\fP *hashkit_create(\fI\%hashkit_st\fP\fI\ *hash\fP) .UNINDENT .INDENT 0.0 .TP -.B hashkit_st *hashkit_clone(hashkit_st *destination, const hashkit_st *ptr); +.B \fI\%hashkit_st\fP *hashkit_clone(\fI\%hashkit_st\fP\fI\ *destination\fP, const \fI\%hashkit_st\fP\fI\ *ptr\fP) .UNINDENT .INDENT 0.0 .TP -.B void hashkit_free(hashkit_st *hash); +.B void hashkit_free(\fI\%hashkit_st\fP\fI\ *hash\fP) .UNINDENT .INDENT 0.0 .TP -.B bool hashkit_is_allocated(const hashkit_st *hash); +.B bool hashkit_is_allocated(const \fI\%hashkit_st\fP\fI\ *hash\fP) .UNINDENT .sp Compile and link with \-lhashkit .SH DESCRIPTION .sp -The \fBhashkit_create()\fP function initializes a hashkit object for use. If +The \fI\%hashkit_create()\fP function initializes a hashkit object for use. If you pass a NULL argument for hash, then the memory for the object is allocated. If you specify a pre\-allocated piece of memory, that is initialized for use. .sp -The \fBhashkit_clone()\fP function initializes a hashkit object much like -\fBhashkit_create()\fP, but instead of using default settings it will use +The \fI\%hashkit_clone()\fP function initializes a hashkit object much like +\fI\%hashkit_create()\fP, but instead of using default settings it will use the settings of the ptr hashkit object. .sp -The \fBhashkit_free()\fP frees any resources being consumed by the hashkit -objects that were initialized with \fBhashkit_create()\fP or \fBhashkit_clone()\fP. +The \fI\%hashkit_free()\fP frees any resources being consumed by the hashkit +objects that were initialized with \fI\%hashkit_create()\fP or \fI\%hashkit_clone()\fP. .sp -The \fBhashkit_is_allocated()\fP reports where the memory was allocated +The \fI\%hashkit_is_allocated()\fP reports where the memory was allocated for a hashkit object. .SH RETURN VALUE .sp -\fBhashkit_create()\fP and \fBhashkit_clone()\fP will return NULL on +\fI\%hashkit_create()\fP and \fI\%hashkit_clone()\fP will return NULL on failure or non\-NULL on success. .sp -\fBhashkit_is_allocated()\fP returns true if the memory for the hashkit -object was allocated inside of \fBhashkit_create()\fP or -\fBhashkit_clone()\fP, otherwise it is false and was user\-supplied memory. +\fI\%hashkit_is_allocated()\fP returns true if the memory for the hashkit +object was allocated inside of \fI\%hashkit_create()\fP or +\fI\%hashkit_clone()\fP, otherwise it is false and was user\-supplied memory. .SH HOME .sp To find out more information please check: @@ -89,7 +89,7 @@ To find out more information please check: .SH AUTHOR Brian Aker .SH COPYRIGHT -2011, Brian Aker DataDifferential, http://datadifferential.com/ +2011-2012, Brian Aker DataDifferential, http://datadifferential.com/ .\" Generated by docutils manpage writer. .\" .