setjmp (SunOS) setjmp (SunOS)
setjmp, _setjmp, longjmp, _longjmp - Saves and restores the current
SYSTEM V COMPATIBILITY
Digital UNIX provides the libsys5.a library to allow you to use library
functions that are compatible with System V library functions. This
library contains functions for those libc functions whose behavior is
incompatible with POSIX or X/Open standards. For more information about
the System V (SVID-2) features in Digital UNIX, please refer to the
System V Compatibility User's Guide.
The System V versions of the setjmp() and longjmp() functions, which
are equivalent to _setjmp() and _longjmp() respectively, are also sup‐
ported for compatibility.
To use the System V versions of setjmp() and longjmp(), you must link
with the libsys5 library before you link with libc.
Also, do not save and restore the signal state.
Digital UNIX Functions:
setjmp(3), longjmp(3) delim off