home *** CD-ROM | disk | FTP | other *** search
- /*
- * Copyright (c) 1998 The Santa Cruz Operation, Inc.. All Rights Reserved.
- *
- * THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF THE
- * SANTA CRUZ OPERATION INC.
- *
- * The copyright notice above does not evidence any actual or intended
- * publication of such source code.
- */
-
- #ifndef _ERRNO_H
- #define _ERRNO_H
- #ident "@(#)sgs-head:common/head/errno.h 1.4.4.3"
-
- #include <sys/errno.h>
-
- #ifdef _REENTRANT
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- extern int *__thr_errno(void);
-
- #ifdef __cplusplus
- }
- #endif
-
- #define errno (*__thr_errno())
-
- #else /*!_REENTRANT*/
-
- extern int errno;
-
- #endif /*_REENTRANT*/
-
- #endif /*_ERRNO_H*/
-