From 0f2a0d41cffe3bfadeb9351d69b43c1391b6f20c Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 27 Oct 2018 13:54:54 +0200 Subject: man pages: alloca functions require gcc or clang MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- man/libsimple_aligned_memdup.3 | 1 + man/libsimple_enstrdup.3 | 1 + man/libsimple_enstrndup.3 | 1 + man/libsimple_memdup.3 | 1 + 4 files changed, 4 insertions(+) diff --git a/man/libsimple_aligned_memdup.3 b/man/libsimple_aligned_memdup.3 index 8e18087..b80d6af 100644 --- a/man/libsimple_aligned_memdup.3 +++ b/man/libsimple_aligned_memdup.3 @@ -59,6 +59,7 @@ of the function that uses allocates the memory on the stack rather than on the heap, causing the return pointer to become invalid when the calling function returns. +It is only available when compling with GCC or Clang. .SH RETURN VALUE Upon successful completion, the .BR libsimple_aligned_memdupa (), diff --git a/man/libsimple_enstrdup.3 b/man/libsimple_enstrdup.3 index c65f13e..cb67577 100644 --- a/man/libsimple_enstrdup.3 +++ b/man/libsimple_enstrdup.3 @@ -44,6 +44,7 @@ of the function that uses allocates the memory on the stack rather than on the heap, causing the return pointer to become invalid when the calling function returns. +It is only available when compling with GCC or Clang. .SH RETURN VALUE Upon successful completion, the .BR libsimple_strdupa (), diff --git a/man/libsimple_enstrndup.3 b/man/libsimple_enstrndup.3 index d8d6882..38a85ed 100644 --- a/man/libsimple_enstrndup.3 +++ b/man/libsimple_enstrndup.3 @@ -44,6 +44,7 @@ of the function that uses allocates the memory on the stack rather than on the heap, causing the return pointer to become invalid when the calling function returns. +It is only available when compling with GCC or Clang. .SH RETURN VALUE Upon successful completion, the .BR libsimple_strndupa (), diff --git a/man/libsimple_memdup.3 b/man/libsimple_memdup.3 index 8aa3586..d9e6d32 100644 --- a/man/libsimple_memdup.3 +++ b/man/libsimple_memdup.3 @@ -56,6 +56,7 @@ of the function that uses allocates the memory on the stack rather than on the heap, causing the return pointer to become invalid when the calling function returns. +It is only available when compling with GCC or Clang. .SH RETURN VALUE Upon successful completion, the .BR libsimple_memdupa (), -- cgit v1.2.3-70-g09d2