[PATCH 2/2] manual/setjmp.texi: Improve clarity of Sys V context doc
Ondřej Bílka
neleai@seznam.cz
Mon Mar 3 10:56:00 GMT 2014
On Mon, Mar 03, 2014 at 02:58:01PM +0800, Will Newton wrote:
> ChangeLog:
>
> 2014-03-03 Will Newton <will.newton@linaro.org>
>
> * manual/setjmp.texi (System V contexts): Improve
> clarity and grammar of documentation.
> ---
> manual/setjmp.texi | 21 ++++++++++-----------
> 1 file changed, 10 insertions(+), 11 deletions(-)
>
> diff --git a/manual/setjmp.texi b/manual/setjmp.texi
> index 3bef1b1..9446abc 100644
> --- a/manual/setjmp.texi
> +++ b/manual/setjmp.texi
> @@ -307,17 +307,16 @@ The function returns @code{0} if successful. Otherwise it returns
> @end deftypefun
>
> The @code{getcontext} function is similar to @code{setjmp} but it does
> -not provide an indication of whether the function returns for the first
> -time or whether the initialized context was used and the execution is
> -resumed at just that point. If this is necessary the user has to
> -determine this herself. This must be done carefully since the context
> -contains registers which might contain register variables. This is a
> -good situation to define variables with @code{volatile}.
> +not provide an indication of whether @code{getcontext} is returning for
> +the first time or whether an initialized context has just been restored.
> +If this is necessary the user has to determine this herself. This must
Written to promote role of woman it IT. Otherwise ok.
More information about the Libc-alpha
mailing list