diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-04-14 17:44:22 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-04-14 17:44:22 +0000 |
commit | 0758ea0cc3a75376dd4229af51c770e1622f1497 (patch) | |
tree | 216f92014197e4615f854b30d492acc602aa9599 /stdlib/stdlib.h | |
parent | a204dbb2ec570cf20d4932dc5b17859a159d8708 (diff) | |
download | glibc-0758ea0cc3a75376dd4229af51c770e1622f1497.tar.gz glibc-0758ea0cc3a75376dd4229af51c770e1622f1497.tar.xz glibc-0758ea0cc3a75376dd4229af51c770e1622f1497.zip |
Update.
2000-04-14 Ulrich Drepper <drepper@redhat.com> * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign. * malloc/malloc.c: Implement posix_memalign for glibc. * include/stdlib.h: Add prototype for __posix_memalign. * stdlib/stdlib.h: Add prototype for posix_memalign.
Diffstat (limited to 'stdlib/stdlib.h')
-rw-r--r-- | stdlib/stdlib.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h index 604ab64f78..8401e5d64a 100644 --- a/stdlib/stdlib.h +++ b/stdlib/stdlib.h @@ -549,6 +549,11 @@ extern void cfree (void *__ptr) __THROW; extern void *valloc (size_t __size) __THROW __attribute_malloc__; #endif +#ifdef __USE_XOPEN2K +/* Allocate memiry of SIZE bytes with an alignment of ALIGNMENT. */ +extern int posix_memalign (void **memptr, size_t alignment, size_t size) + __THROW; +#endif /* Abort execution and generate a core-dump. */ extern void abort (void) __THROW __attribute__ ((__noreturn__)); |