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

16 lines
216 B
C
Raw Normal View History

2000-09-03 11:52:30 +08:00
/* $Header$ */
/*
* (C) COPYRIGHT CRAY RESEARCH, INC.
* UNPUBLISHED PROPRIETARY INFORMATION.
* ALL RIGHTS RESERVED.
*/
#include <unistd.h>
char *
get_high_address()
{
return (char *)sbrk(0) + 16384;
}