summaryrefslogtreecommitdiff
path: root/mysys/mulalloc.c
diff options
context:
space:
mode:
authorsalle@geopard.(none) <>2002-07-09 18:59:52 +0300
committersalle@geopard.(none) <>2002-07-09 18:59:52 +0300
commit58f442152b5c5f4e0fdd4d68367dd5114f8bd07a (patch)
treed82e6a1ef9abf64d6b1a81940ad35dfedb93bfe7 /mysys/mulalloc.c
parentb417559e07866e7507898f2b5483052cd2c8a59c (diff)
downloadmariadb-git-58f442152b5c5f4e0fdd4d68367dd5114f8bd07a.tar.gz
Rewrite function comments
Diffstat (limited to 'mysys/mulalloc.c')
-rw-r--r--mysys/mulalloc.c16
1 files changed, 13 insertions, 3 deletions
diff --git a/mysys/mulalloc.c b/mysys/mulalloc.c
index a2960aec4b5..6b025bca699 100644
--- a/mysys/mulalloc.c
+++ b/mysys/mulalloc.c
@@ -14,12 +14,22 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
- /* Malloc many pointers at the same time */
- /* format myFlags,ptr,length,ptr,length ... until null ptr */
-
#include "mysys_priv.h"
#include <stdarg.h>
+/*
+ Malloc many pointers at the same time
+
+ SYNOPSIS
+ my_multi_malloc()
+ myFlags Flags
+ ... Multiple arguments terminated by null ptr
+
+ ptr, length
+ ptr, length
+ NULL
+*/
+
gptr my_multi_malloc(myf myFlags, ...)
{
va_list args;