newlib-cygwin/winsup/testsuite/libltp/lib/get_high_address.c

16 lines
216 B
C

/* $Header$ */
/*
* (C) COPYRIGHT CRAY RESEARCH, INC.
* UNPUBLISHED PROPRIETARY INFORMATION.
* ALL RIGHTS RESERVED.
*/
#include <unistd.h>
char *
get_high_address()
{
return (char *)sbrk(0) + 16384;
}