malloc.3: reorder prototypes in SYNOPSIS
PATCH 1/1 malloc.3: reorder prototypes in SYNOPSIS
man-pages version: latest git repository
why: calloc() comes before realloc() in the other sections, so should do in SYNOPSIS, too.
man3/malloc.3 +0 -0
@@ -34,8 +34,8 @@ malloc, free, calloc, realloc \- Allocate and free
dynamic memory
.sp
.BI "void *malloc(size_t " "size" );
.BI "void free(void " "*ptr" );
-.BI "void *realloc(void " "*ptr" ", size_t " "size" ); .BI "void *calloc(size_t " "nmemb" ", size_t " "size" ); +.BI "void *realloc(void " "*ptr" ", size_t " "size" ); .fi
.SH DESCRIPTION
.PP
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
2011/8/31 Seonghun Lim <[email protected]>:
Quoted 3 lines
man-pages version: latest git repository
why:calloc()comes beforerealloc()in the other sections, so should do in SYNOPSIS, too.
Applied for 3.33.
Thanks,
Michael
Quoted 16 lines
man3/malloc.3 +0
-0@@ -34,8 +34,8 @@ malloc, free, calloc, realloc \- Allocate and freedynamic memory
.sp
.BI "void *malloc(size_t " "size" );
.BI "voidfree(void " "*ptr" );
-.BI "void *realloc(void " "*ptr" ",size_t" "size" ); .BI "void *calloc(size_t " "nmemb" ",size_t" "size" ); +.BI "void *realloc(void " "*ptr" ",size_t" "size" ); .fi
.SH DESCRIPTION
.PP
Signature · 7 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Author of "The Linux Programming Interface"; http://man7.org/tlpi/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html