1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

setcontext: Clarify termination when uc_link is the null pointer.

This commit is contained in:
Thomas Schwinge
2012-07-17 10:05:55 +02:00
parent aaf5420c6d
commit dc97c227c9
3 changed files with 13 additions and 2 deletions

View File

@ -35,7 +35,9 @@ cf (int i)
printf ("i %d thr %d\n", i, thr);
exit (1);
}
exit (0);
/* Since uc_link below has been set to NULL, setcontext is supposed to
terminate the process normally after this function returns. */
}
int