Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ get_h_errno(3N) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

intro(2)

intro(3)






       get_h_errno(3N)                                      get_h_errno(3N)


       NAME
             get_h_errno, set_h_errno - get/set h_errno value

       SYNOPSIS
             cc [options] file -lsocket -lnsl
             #include <sys/socket.h>
             int get_h_errno(void);
             int set_h_errno(int);

       DESCRIPTION
             The get_h_errno and set_h_errno functions are used in multi-
             threaded applications that use the Socket Interface to set and
             return the value in h_errno.

             These functions are required by applications compiled with the
             _REENTRANT flag if the user needs to set the thread-specific
             version of h_errno.

          Files
             /usr/lib/libsocket.so
                               Socket Library (shared object)

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

       REFERENCES
             intro(2), intro(3)


















                           Copyright 1994 Novell, Inc.               Page 1








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