This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/2] manual/memory.texi: Bring aligned allocation docs up to date.


On 6 November 2013 10:17, Andreas Schwab <schwab@suse.de> wrote:
> Will Newton <will.newton@linaro.org> writes:
>
>> @@ -647,6 +656,16 @@ parameter @var{alignment}: the value must be a power of two multiple of
>>  If the function succeeds in allocation memory a pointer to the allocated
>>  memory is returned in @code{*@var{memptr}} and the return value is zero.
>>  Otherwise the function returns an error value indicating the problem.
>> +The possible error values returned are:
>> +
>> +@table @code
>> +@item ENOMEM
>> +@var{alignment} is not a power of two multiple of @code{sizeof (void *)}.
>> +
>> +@item EINVAL
>> +There was insufficient memory available to satisfy the request.
>> +
>> +@end table
>
> It's the other way round.

Oops, thanks, I'll fix that.

-- 
Will Newton
Toolchain Working Group, Linaro


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]