mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
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
This commit is contained in:
parent
bfdddfa81f
commit
e797b466b4
8 changed files with 232 additions and 22 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue