mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 04:11:30 +00:00
18 lines
454 B
C
18 lines
454 B
C
|
/* $Id: heap.c,v 1.1 2002/02/24 22:14:05 ea Exp $
|
||
|
*
|
||
|
* FILE: reactos/subsys/psx/lib/psxdll/misc/heap.c
|
||
|
* COPYRIGHT: See COPYING in the top level directory
|
||
|
* PROJECT: ReactOS POSIX+ Subsystem
|
||
|
* PURPOSE: Support routines for crt0.c
|
||
|
* UPDATE HISTORY:
|
||
|
* 2001-05-06
|
||
|
*/
|
||
|
#define NTOS_MODE_USER
|
||
|
#include <ntos.h>
|
||
|
#include <napi/teb.h>
|
||
|
HANDLE STDCALL GetProcessHeap (VOID)
|
||
|
{
|
||
|
return (HANDLE)NtCurrentPeb()->ProcessHeap;
|
||
|
}
|
||
|
/* EOF */
|