Date: Wed, 19 Oct 2011 18:50:11 GMT From: Niclas Zeising <niclas.zeising@gmail.com> To: freebsd-doc@FreeBSD.org Subject: Re: docs/161808: Missing documentation critical to correct usage of uuid_to_string(3) Message-ID: <201110191850.p9JIoBob007931@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/161808; it has been noted by GNATS. From: Niclas Zeising <niclas.zeising@gmail.com> To: Jim Carroll <jim@carroll.com> Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: docs/161808: Missing documentation critical to correct usage of uuid_to_string(3) Date: Wed, 19 Oct 2011 20:42:59 +0200 This is a multi-part message in MIME format. --------------020509080204060605060408 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Here is a patch that adds the mentioned notice. Regards! -- Niclas Zeising --------------020509080204060605060408 Content-Type: text/plain; name="uuid.3.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="uuid.3.diff" Index: lib/libc/uuid/uuid.3 =================================================================== --- lib/libc/uuid/uuid.3 (revision 226521) +++ lib/libc/uuid/uuid.3 (working copy) @@ -80,6 +80,9 @@ or .Fn uuid_from_string respectively. +Please note that it is up to the caller of +.Fn uuid_to_string +to release the memory allocated to hold the returned string. A 16-bit hash value can be obtained by calling .Fn uuid_hash . .Pp --------------020509080204060605060408--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110191850.p9JIoBob007931>