[patch] malloc.3: reorder prototypes in SYNOPSIS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



man-pages version: latest git repository
why: calloc() comes before realloc() in the other sections, so
should do in SYNOPSIS, too.


diff --git a/man3/malloc.3 b/man3/malloc.3
--- a/man3/malloc.3
+++ b/man3/malloc.3
@@ -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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux