Re: [patch] malloc.3: reorder prototypes in SYNOPSIS

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

 



2011/8/31 Seonghun Lim <wariua@xxxxxxxxx>:
> 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

> 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
>
>



-- 
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 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