thr_stksegment(3scl)thr_stksegment(3scl)NAMEthr_stksegment - Gets the thread's stack information.
LIBRARY
SCL Threads Library (libthread.so)
SYNOPSIS
#include <thread.h>
int thr_stksegment(
stack_t *stack );
PARAMETERS
Receives the stack information.
DESCRIPTION
This routine returns information about a thread's stack. This routine
is typically used by debuggers or similar applications.
SCL IMPLEMENTATION NOTESthr_stksegment(3scl) is not supported by SCL on Tru64 UNIX. It always
returns EAGAIN. A message indicating that this function is not sup‐
ported is written to the SCL errorlog.
RETURN VALUES
If an error condition occurs, this routine returns an integer value
indicating the type of error.
Additional error return information may be written to the SCL error
log. Refer to scl_error_log(4scl) for details.
Possible return values are as follows: Successful completion. (Never
returned on Tru64 UNIX). The stack information for the thread is not
available. (Always returned on Tru64 UNIX).
ERRORS
None.
RELATED INFORMATION
Functions: scl_intro(3scl), scl_thread_intro(3scl)
Files: scl_error_log(4scl)
Manuals: Solaris Compatibility Libraries User's Guide
thr_stksegment(3scl)