From ef2c2e8168e12f9d67d52e432752833ba227ecef Mon Sep 17 00:00:00 2001 From: Romain Tartiere Date: Tue, 22 Jun 2010 21:53:07 +0000 Subject: [PATCH] Complete documentation for mad_new(). --- libfreefare/mad.3 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libfreefare/mad.3 b/libfreefare/mad.3 index 1349d1c..29b02ae 100644 --- a/libfreefare/mad.3 +++ b/libfreefare/mad.3 @@ -148,7 +148,14 @@ for the given .\" |_| \_\___|\__|\__,_|_| |_| |_| \_/ \__,_|_|\__,_|\___||___/ .\" .Sh RETURN VALUES -Unless stated otherwise, all functions return a value greater than or equal to +The +.Fn mad_new +function return +.Va NULL +on failure and allocates memory that has to be freed using +.Xr free 3 +on success. +Unless stated otherwise, all other functions return a value greater than or equal to .Va 0 on success or .Va -1