This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 2/2] manual/memory.texi: Bring aligned allocation docs up to date.
- From: Andreas Schwab <schwab at suse dot de>
- To: Will Newton <will dot newton at linaro dot org>
- Cc: libc-alpha at sourceware dot org, Patch Tracking <patches at linaro dot org>
- Date: Wed, 06 Nov 2013 11:17:21 +0100
- Subject: Re: [PATCH 2/2] manual/memory.texi: Bring aligned allocation docs up to date.
- Authentication-results: sourceware.org; auth=none
- References: <527A14B1 dot 5080903 at linaro dot org>
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.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."