posix_memalign(3)

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

 



Hello

Some feedback, suggestions.

https://man7.org/linux/man-pages/man3/posix_memalign.3.html
"ENOMEM There was insufficient memory to fulfill the allocation request."

Rather wordy, how about "ENOMEM Out of memory" ? that would match malloc(3)


There are quite a few extra words in the description, how about simplifying:

Orig:
"The function posix_memalign() allocates size bytes and places the
address of the allocated memory in *memptr. "

Simplification:
"posix_memalign() allocates size bytes and places the
allocated memory address in *memptr."

Another one.
Orig:
"The function aligned_alloc() is the same as memalign(), except
for the added restriction that size should be a multiple of
alignment."

simplification:

"aligned_alloc() is the same as memalign(), except
for the added restriction that size should be a multiple of
alignment.

Kind regards, Jonny




[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