Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pthread_getspecific(3-thr) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pthread_getspecific(3-thr)                       pthread_getspecific(3-thr)

NAME
     pthreadgetspecific - obtains the thread-specific data associated with
     the specified key

SYNOPSIS
     #include <pthread.h>

     int pthreadgetspecific(
          pthreadkeyt key,
          pthreadaddrt *value);

PARAMETERS
     key       Context key value that identifies the data value obtained.
               This key value must be obtained from pthreadkeycreate().

     value     Address of the current thread-specific data value associated
               with the specified key.

DESCRIPTION
     The pthreadgetspecific() routine obtains the thread-specific data
     associated with the specified key for the current thread.

RETURN VALUES
     If the function fails, errno may be set to one of the following
     values:

     EINVAL    The key value is invalid.

SEE ALSO
     pthreadkeycreate(3-thr), pthreadsetspecific(3-thr).

























Page 1                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026