64a2f6feb4bcabb353471210bb02513d88022f9f
[reactos.git] / posix / lib / psxdll / errno / errno.c
1 /* $Id: errno.c,v 1.2 2002/02/20 09:17:56 hyperion Exp $
2 */
3 /*
4 * COPYRIGHT: See COPYING in the top level directory
5 * PROJECT: ReactOS POSIX+ Subsystem
6 * FILE: subsys/psx/lib/psxdll/errno/errno.c
7 * PURPOSE: Internal errno implementation
8 * PROGRAMMER: KJK::Hyperion <noog@libero.it>
9 * UPDATE HISTORY:
10 * 27/12/2001: Created
11 */
12
13 #include <psx/debug.h>
14 #include <psx/errno.h>
15
16 static int __errno_storage = 0;
17
18 int * __PdxGetThreadErrNum(void)
19 {
20 FIXME("errno currently not thread-safe");
21 return (&__errno_storage);
22 }
23
24 /* EOF */
25