aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2018-10-27 13:54:54 +0200
committerMattias Andrée <maandree@kth.se>2018-10-27 13:54:54 +0200
commit0f2a0d41cffe3bfadeb9351d69b43c1391b6f20c (patch)
tree7d08828d58276f337bb8a91b02d16024cdafd426 /man
parentAdd man pages for memdup, aligned_memdup, strdup and strndup functions, and fix strndupa (diff)
downloadlibsimple-0f2a0d41cffe3bfadeb9351d69b43c1391b6f20c.tar.gz
libsimple-0f2a0d41cffe3bfadeb9351d69b43c1391b6f20c.tar.bz2
libsimple-0f2a0d41cffe3bfadeb9351d69b43c1391b6f20c.tar.xz
man pages: alloca functions require gcc or clang
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'man')
-rw-r--r--man/libsimple_aligned_memdup.31
-rw-r--r--man/libsimple_enstrdup.31
-rw-r--r--man/libsimple_enstrndup.31
-rw-r--r--man/libsimple_memdup.31
4 files changed, 4 insertions, 0 deletions
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 (),