summaryrefslogtreecommitdiff
path: root/mysys/mulalloc.c
diff options
context:
space:
mode:
authorunknown <salle@geopard.(none)>2002-07-09 18:59:52 +0300
committerunknown <salle@geopard.(none)>2002-07-09 18:59:52 +0300
commite797b466b4234c5960927de0fde2077fe6293626 (patch)
treed82e6a1ef9abf64d6b1a81940ad35dfedb93bfe7 /mysys/mulalloc.c
parentbfdddfa81f71850a73ac2538b25d80ba1c218a1e (diff)
downloadmariadb-git-e797b466b4234c5960927de0fde2077fe6293626.tar.gz
Rewrite function comments
mysys/array.c: Rewrite functions comments mysys/checksum.c: Rewrite function comment Style cleanup mysys/mulalloc.c: Rewrite function comment mysys/my_chsize.c: Rewrite function comment mysys/my_error.c: Rewrite comments mysys/my_once.c: Rewrite comments mysys/my_div.c: Rewrite comments mysys/my_open.c: Rewrite 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;