linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* posix_memalign
@ 2013-09-03 17:32 Jon Grant
       [not found] ` <CAGc9EvdXthzgBYEV=zpq+POQypCN_ePs0g3tksz6jC71zBDr+Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Jon Grant @ 2013-09-03 17:32 UTC (permalink / raw)
  To: Michael Kerrisk; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

Hello

I have a proposal to change the description on this page to be clearer:
http://man7.org/linux/man-pages/man3/posix_memalign.3.html

Currently:

"If size is 0, then
posix_memalign() returns either NULL, or a unique pointer value that
can later be successfully passed to free(3)."

--As posix_memalign doesn't "return" the value, but places the address
in *memptr I propose to change it to:

"If size is 0, then
posix_memalign() either places NULL in *memptr, or a unique pointer value that
can later be successfully passed to free(3)."


Best regards, Jon
--
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] 3+ messages in thread

* Re: posix_memalign
       [not found] ` <CAGc9EvdXthzgBYEV=zpq+POQypCN_ePs0g3tksz6jC71zBDr+Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2013-09-04  6:11   ` Michael Kerrisk (man-pages)
       [not found]     ` <5226CF0C.5050908-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Kerrisk (man-pages) @ 2013-09-04  6:11 UTC (permalink / raw)
  To: Jon Grant; +Cc: Michael Kerrisk, linux-man-u79uwXL29TY76Z2rM5mHXA

Hi Jon,

On 09/03/13 19:32, Jon Grant wrote:
> Hello
> 
> I have a proposal to change the description on this page to be clearer:
> http://man7.org/linux/man-pages/man3/posix_memalign.3.html
> 
> Currently:
> 
> "If size is 0, then
> posix_memalign() returns either NULL, or a unique pointer value that
> can later be successfully passed to free(3)."
> 
> --As posix_memalign doesn't "return" the value, but places the address
> in *memptr I propose to change it to:
> 
> "If size is 0, then
> posix_memalign() either places NULL in *memptr, or a unique pointer value that
> can later be successfully passed to free(3)."

By chance, someone else recently reported this (offlist), and I 
made a change (commit 558f02dff03b5835d9f83f20b2056f38c6238a36).

Cheers,

Michael

--
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] 3+ messages in thread

* Re: posix_memalign
       [not found]     ` <5226CF0C.5050908-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2013-09-04 22:13       ` Jonny Grant
  0 siblings, 0 replies; 3+ messages in thread
From: Jonny Grant @ 2013-09-04 22:13 UTC (permalink / raw)
  To: Michael Kerrisk (man-pages); +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

On 04/09/13 07:11, Michael Kerrisk (man-pages) wrote:
> Hi Jon,
>
> On 09/03/13 19:32, Jon Grant wrote:
>> Hello
[...]
> By chance, someone else recently reported this (offlist), and I
> made a change (commit 558f02dff03b5835d9f83f20b2056f38c6238a36).

Good stuff!
Jon
--
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] 3+ messages in thread

end of thread, other threads:[~2013-09-04 22:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-03 17:32 posix_memalign Jon Grant
     [not found] ` <CAGc9EvdXthzgBYEV=zpq+POQypCN_ePs0g3tksz6jC71zBDr+Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-09-04  6:11   ` posix_memalign Michael Kerrisk (man-pages)
     [not found]     ` <5226CF0C.5050908-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-09-04 22:13       ` posix_memalign Jonny Grant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).