aboutsummaryrefslogtreecommitdiffstats
path: root/man3/libsimple_pvalloc.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2018-11-14 23:07:52 +0100
committerMattias Andrée <maandree@kth.se>2018-11-14 23:07:52 +0100
commit548a358df5654e653329f2c9033ef94aeaa143ad (patch)
tree5ae1a435ee78a55ea68c25315044a1e052b62328 /man3/libsimple_pvalloc.3
parentDocument libsimple-arg.h and add support optional arguments on long options and add KEEP_DASHDASH to ARGBEGIN3 (now named ARGBEGIN4) (diff)
downloadlibsimple-548a358df5654e653329f2c9033ef94aeaa143ad.tar.gz
libsimple-548a358df5654e653329f2c9033ef94aeaa143ad.tar.bz2
libsimple-548a358df5654e653329f2c9033ef94aeaa143ad.tar.xz
Some fixes to libsimple-arg.h, test everything except long arguments, and fix some man pages
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'man3/libsimple_pvalloc.3')
-rw-r--r--man3/libsimple_pvalloc.313
1 files changed, 12 insertions, 1 deletions
diff --git a/man3/libsimple_pvalloc.3 b/man3/libsimple_pvalloc.3
index 63473b3..b6cf4c6 100644
--- a/man3/libsimple_pvalloc.3
+++ b/man3/libsimple_pvalloc.3
@@ -36,7 +36,9 @@ alignment of the page size to the allocated memory.
The function
.BR free (3)
shall be called with the returned pointer as
-input when the allocated memory is no longer needed.
+input when the allocated memory is no longer needed,
+but see
+.BR NOTES .
.PP
The
.BR libsimple_enpvalloc ()
@@ -132,6 +134,15 @@ None.
.SH FUTURE DIRECTIONS
None.
.SH NOTES
+Portable applications shall assume that pointer
+returned by the
+.BR pvalloc ()
+function can be deallocated with the
+.BR free (3)
+functon, unless the namespaced alias
+.BR libsimple_pvalloc ()
+is used explicitly.
+.PP
The GNU implementation of
.BR pvalloc (3)
is \(dqMT-Unsafe init\(dq.