unw_nto_resume()

QNX SDP8.0C Library ReferenceAPIDeveloper

A no-operation function. May be called through unw_resume().

Synopsis:

int unw_nto_resume (unw_addr_space_t as,
                    unw_cursor_t *reg,
                    void *arg)

Arguments:

as
The opaque address space pointer returned by a call to unw_create_addr_space (&unw_nto_accessors, 0).
reg
The current unwind cursor.
arg
A user-defined argument value (unused -- set to NULL)

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

The unw_nto_resume() function doesn't perform any action, but it may be called through unw_resume().

The unw_resume() function stops unwinding and resumes execution at the current point in the execution stack represented by its cursor argument. If this cursor was created for a remote nto unwind context, then unw_resume() calls unw_nto_resume().

unw_nto_resume() is a no-operation function and is unsupported on the remote unwinder.

Returns:

0
An error occurred.
Any other value
Success.

Example:

#include "libunwind-nto.h"
#include "unw_nto_internal.h"

int unw_nto_resume (unw_addr_space_t as,
                    unw_cursor_t *reg,
                    void *arg)
{
  Debug (2, "as=%p, reg=%p, arg=%p\n", as, reg, arg);
  return 0;
}
Page updated: