Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ set_t_errno(3N) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

intro(2)

t_error(3N)

t_strerror(3N)






       get_t_errno(3N)                                      get_t_errno(3N)


       NAME
             get_t_errno, set_t_errno - get/set t_errno value

       SYNOPSIS
             cc [options] file -lnsl
             #include <xti.h>
             int get_t_errno(void);
             int set_t_errno(int);

       DESCRIPTION
             The set_t_errno and get_t_errno functions are used in TLI/XTI
             multithreaded applications to set and return the value of
             t_errno.  These functions avoid the inconsistencies that may
             occur when t_errno is accessed directly in conditions of low
             memory.

          Files
             /usr/lib/libxti.so
                               X/Open Transport Interface Library (shared
                               object)
             /usr/lib/libnsl.so
                               Network Services Library (shared object)

       USAGE
             While get_t_errno and set_t_errno are designed for use in
             multi-threaded applications, they are available for use in
             non-reentrant code and may be incorporated if a need is
             anticipated to convert to reentrant code later.

       CAVEATS
             The get_t_errno and set_t_errno functions may not be available
             in other versions of the UNIX operating system.

             Users are encouraged not to set t_errno, either directly or by
             calling set_t_errno.

       REFERENCES
             intro(2), t_error(3N), t_strerror(3N)










                           Copyright 1994 Novell, Inc.               Page 1








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