Skip to contentSkip to conversation

malloc.3: reorder prototypes in SYNOPSIS

PATCH In review Seonghun Lim 2 participants 2 messages Aug 31, 2011 – Sep 8, 2011 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

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]

#2 lore raw

2011/8/31 Seonghun Lim <[email protected]>:

Quoted 3 lines

man-pages version: latest git repository
why: calloc() comes before realloc() 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 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

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