pthread_attr_setstackaddr man page on BSDi

Man page or keyword search:  
man Server   6284 pages
apropos Keyword Search (all sections)
Output format
BSDi logo
[printable version]

PTHREAD_ATTR_GETSTACKADDR(3)BSD Programmer's ManuaPTHREAD_ATTR_GETSTACKADDR(3)

NAME
     pthread_attr_getstackaddr, pthread_attr_setstackaddr - pthread creation
     stackaddr attribute

SYNOPSIS
     #include <pthread.h>

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

     int
     pthread_attr_setstackaddr(pthread_attr_t *attr, void *stackaddr);

DESCRIPTION
     This interface is defined by IEEE Std1003.1c (``POSIX'').

     The pthread_attr_getstackaddr() and pthread_attr_setstackaddr() functions
     retrieve and establish the stackaddr attribute in the pthread creation
     attribute pointed to by attr.

RETURN VALUES
     Upon successful completion the pthread_attr_getstackaddr and
     pthread_attr_setstackaddr functions both return 0.	 A non-zero result in-
     dicates an error occurred.	 Upon successful completion the
     pthread_attr_getstackaddr function returns a copy of the stackaddr at-
     tribute value in the location pointed to by stackaddr.

ERRORS
     The pthread_attr_getstackaddr and pthread_attr_setstackaddr functions may
     fail and return the following error:

     [EINVAL]	   The value of a function argument is invalid.

SEE ALSO
     pthreads(3),  pthread_attr(3),  pthread_create(3)

STANDARDS
     The pthread_attr_getstackaddr and pthread_attr_setstackaddr functions
     conform to IEEE Std1003.1c (``POSIX'').

HISTORY
     The pthread_attr_getstackaddr and pthread_attr_setstackaddr functions
     first appeared in BSD/OS 4.0.

4th Berkeley Distribution	 May 29, 1998				     1
[top]

List of man pages available for BSDi

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net