RTEMS Logo

RTEMS 4.6.0pre5 On-Line Library


Thread Manager pthread_attr_getstackaddr - Get Thread Stack Address

PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

17.4.8: pthread_attr_getstackaddr - Get Thread Stack Address

CALLING SEQUENCE:

#include <pthread.h>

int pthread_attr_getstackaddr(
  const pthread_attr_t  *attr,
  void                 **stackaddr
);

STATUS CODES:

EINVAL
The attribute pointer argument is invalid.
EINVAL
The attribute set is not initialized.
EINVAL
The stackaddr pointer argument is invalid.

DESCRIPTION:

The pthread_attr_getstackaddr routine is used to obtain the stackaddr attribute in the attr thread attribute object.

NOTES:

As required by POSIX, RTEMS defines the feature symbol _POSIX_THREAD_ATTR_STACKADDR to indicate that this routine is supported.


PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

Copyright © 1988-2003 OAR Corporation