diff options
author | Christopher Faylor <me@cgf.cx> | 2000-09-03 07:52:30 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-09-03 07:52:30 +0400 |
commit | 42f03f675735b0ab55f86824894706e39878b5cc (patch) | |
tree | 8257fcbb3933db674d2f140ed9329c64baf19977 /winsup/testsuite/libltp/lib/get_high_address.c | |
parent | 312a668a2270134e00534e587ff76886f8570aae (diff) |
Importing Egor's testsuite.
Diffstat (limited to 'winsup/testsuite/libltp/lib/get_high_address.c')
-rw-r--r-- | winsup/testsuite/libltp/lib/get_high_address.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/winsup/testsuite/libltp/lib/get_high_address.c b/winsup/testsuite/libltp/lib/get_high_address.c new file mode 100644 index 000000000..3b4105743 --- /dev/null +++ b/winsup/testsuite/libltp/lib/get_high_address.c @@ -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; +} |