LONGJMP(3) Library functions LONGJMP(3)

NAME

longjmp - non-local jump to a saved stack context

SYNOPSIS

#include <setjmp.h> void longjmp(jmp_buf env, int val);

DESCRIPTION

longjmp() and setjmp(3) are useful for dealing with errors and interrupts encountered in a low-level subroutine of a program. longjmp() restores the environment saved by the last call of setjmp() with the corresponding env argument. After longjmp() is completed, program execution continues as if the corresponding call of setjmp() had just returned the value val. longjmp() cannot cause 0 to be returned. If longjmp is invoked with a second argument of 0, 1 will be returned instead.

RETURN VALUE

This function never returns.

CONFORMING TO

POSIX

NOTES

POSIX does not specify if the signal context will be restored or not. If you want to save restore signal masks, use siglongjmp(3) longjmp() makes programs hard to understand and maintain. If possible an alternative should be used.

SEE ALSO

setjmp, sigsetjmp, siglongjmp,
























                        November 25, 1994                       1




Top Master Index Keywords Functions


This manual page was brought to you by mjl_man V-2.0 t-next.git/commit/?h=nds-private-remove&id=aeb8f8cb1537450e99f7d8f1a1d84d55b0fc6b26'>commitdiff
diff options
context:
space:
mode:
authorChris Brandt <chris.brandt@renesas.com>2016-08-05 09:36:03 -0400
committerMark Brown <broonie@kernel.org>2016-08-08 11:56:46 +0100
commitaeb8f8cb1537450e99f7d8f1a1d84d55b0fc6b26 (patch)
tree064b5eb030780ba3eed459949fcceeeb490f32b5
parent29b4817d4018df78086157ea3a55c1d9424a7cfc (diff)
spi: rspi: Increase accuracy of bit rate for RZ
When you leave the clock divider at 0, 130kHz is the lowest you can go. Also, by adjusting the clock divider you can get more accurate resolutions for clock speeds lower than 16MHz. This patch uses the clock divider as part of the bit rate setup. Signed-off-by: Chris Brandt <chris.brandt@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat