Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2002 12:07:07 +0200
From:      Jens Rehsack <rehsack@liwing.de>
To:        Lance Bland <lbland@vvi.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: is errno thread safe? (was Re: Porting from win32 to UNIX: Sockets)
Message-ID:  <3D64B7CB.7F622353@liwing.de>
References:  <F4B19F04-B540-11D6-9FB6-0030659A531A@vvi.com>

next in thread | previous in thread | raw e-mail | index | archive | help


Lance Bland wrote:
> 
> hi-
> 
> is errno thread safe?

cat /usr/local/errno.h
>>>>>>>
#ifndef _KERNEL
#include <sys/cdefs.h>
__BEGIN_DECLS
int *   __error __P((void));
__END_DECLS
#define errno           (* __error())
#endif
<<<<<<<

if compiled wirh -lc_r

Jens

> -lance
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
L     i  W     W     W  i                 Jens Rehsack
L        W     W     W
L     i   W   W W   W   i  nnn    gggg    LiWing IT-Services
L     i    W W   W W    i  n  n  g   g
LLLL  i     W     W     i  n  n  g   g    Friesenstraße 2
                                  gggg    06112 Halle
                                     g
                                 g   g
Tel.:  +49 - 3 45 - 5 17 05 91    ggg     e-Mail: <rehsack@liwing.de>
Fax:   +49 - 3 45 - 5 17 05 92            http://www.liwing.de/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D64B7CB.7F622353>