Importing Egor's testsuite.
This commit is contained in:
15
winsup/testsuite/libltp/lib/get_high_address.c
Normal file
15
winsup/testsuite/libltp/lib/get_high_address.c
Normal file
@ -0,0 +1,15 @@
|
||||
/* $Header$ */
|
||||
|
||||
/*
|
||||
* (C) COPYRIGHT CRAY RESEARCH, INC.
|
||||
* UNPUBLISHED PROPRIETARY INFORMATION.
|
||||
* ALL RIGHTS RESERVED.
|
||||
*/
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
char *
|
||||
get_high_address()
|
||||
{
|
||||
return (char *)sbrk(0) + 16384;
|
||||
}
|
Reference in New Issue
Block a user