public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] malloc.3: reorder prototypes in SYNOPSIS
@ 2011-08-31 14:48 Seonghun Lim
       [not found] ` <4E5E49AD.8030704-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Seonghun Lim @ 2011-08-31 14:48 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch] malloc.3: reorder prototypes in SYNOPSIS
       [not found] ` <4E5E49AD.8030704-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2011-09-08 15:36   ` Michael Kerrisk
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk @ 2011-09-08 15:36 UTC (permalink / raw)
  To: Seonghun Lim; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

2011/8/31 Seonghun Lim <wariua-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
> 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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-08 15:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-31 14:48 [patch] malloc.3: reorder prototypes in SYNOPSIS Seonghun Lim
     [not found] ` <4E5E49AD.8030704-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-09-08 15:36   ` Michael Kerrisk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox