/* $Id: errno.c,v 1.3 2002/05/17 01:52:03 hyperion Exp $ */ /* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS POSIX+ Subsystem * FILE: subsys/psx/lib/psxdll/errno/errno.c * PURPOSE: Internal errno implementation * PROGRAMMER: KJK::Hyperion * UPDATE HISTORY: * 27/12/2001: Created */ #include #include #include #include int * __PdxGetThreadErrNum(void) { return &(((__PPDX_TDATA) (NtCurrentTeb()->TlsSlots[__PdxGetProcessData()->TlsIndex]) )->ErrNum); } /* EOF */