C API Reference -- Ns_GetThreadLocalStorage

### Ns_GetThreadLocalStorage

#### Overview

Get the thread local storage

#### Syntax

        int Ns_GetThreadLocalStorage(
        Ns_ThreadLocalStorage * tls,
        void **p
        );

#### Description

Fill `*p` with the value of the thread local storage. Note: If `tls` has not been set within the current the thread `*p` will be set to NULL.

Ns_TlsGet is the preferred function for getting thread local storage.

Top of Page
Copyright © 1998-99 America Online, Inc.