NTDLL: RtlNtStatusToPsxErrno moved to PSX subsystem client library.

svn path=/trunk/; revision=5750
This commit is contained in:
Emanuele Aliberti 2003-08-22 13:46:55 +00:00
parent cd813d619c
commit c8ca03fbbf
3 changed files with 3 additions and 40 deletions

View file

@ -1,4 +1,4 @@
; $Id: ntdll.def,v 1.106 2003/07/27 11:40:01 ekohl Exp $
; $Id: ntdll.def,v 1.107 2003/08/22 13:46:55 ea Exp $
;
; ReactOS Operating System
;
@ -490,7 +490,6 @@ RtlMultiByteToUnicodeSize@12
;RtlNewSecurityObject
RtlNormalizeProcessParams@4
RtlNtStatusToDosError@4
RtlNtStatusToPsxErrno@4
;RtlNumberGenericTableElements
RtlNumberOfClearBits@4
RtlNumberOfSetBits@4

View file

@ -1,4 +1,4 @@
; $Id: ntdll.edf,v 1.95 2003/07/27 11:40:01 ekohl Exp $
; $Id: ntdll.edf,v 1.96 2003/08/22 13:46:55 ea Exp $
;
; ReactOS Operating System
;
@ -489,7 +489,6 @@ RtlMultiByteToUnicodeSize=RtlMultiByteToUnicodeSize@12
;RtlNewSecurityObject
RtlNormalizeProcessParams=RtlNormalizeProcessParams@4
RtlNtStatusToDosError=RtlNtStatusToDosError@4
RtlNtStatusToPsxErrno=RtlNtStatusToPsxErrno@4
;RtlNumberGenericTableElements
RtlNumberOfClearBits=RtlNumberOfClearBits@4
RtlNumberOfSetBits=RtlNumberOfSetBits@4

View file

@ -1,4 +1,4 @@
/* $Id: error.c,v 1.13 2003/07/11 13:50:23 royce Exp $
/* $Id: error.c,v 1.14 2003/08/22 13:45:34 ea Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -7,7 +7,6 @@
* PROGRAMER: Eric Kohl
* REVISION HISTORY:
* 22/07/99: Added RtlNtStatusToDosError.
* 1999-11-30: Added RtlNtStatusToPsxErrno.
* 1999-12-18: STDCALL RtlNtStatusToDosError
*/
@ -931,38 +930,4 @@ RtlNtStatusToDosError(NTSTATUS Status)
}
return RtlNtStatusToDosErrorNoTeb(Status);
}
/**********************************************************************
* NAME EXPORTED
* RtlNtStatusToPsxErrno
*
* DESCRIPTION
* Convert an Executive status ID into a POSIX error number
* (errno.h).
*
* NOTE
* Not present in the legacy WNT (a ReactOS extension to support
* the POSIX+ subsystem).
*
* ARGUMENTS
* Status The Executive status ID to convert.
*
* RETURN VALUE
* errno as in errno.h
*
* REVISIONS
* 1999-11-30 ea
*/
INT STDCALL
RtlNtStatusToPsxErrno(IN NTSTATUS Status)
{
#if 0
switch (Status)
{
}
#endif
return -1; /* generic POSIX error */
}
/* EOF */