aboutsummaryrefslogtreecommitdiffstats
path: root/man3/libsimple_vreallocn.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/libsimple_vreallocn.3')
-rw-r--r--man3/libsimple_vreallocn.331
1 files changed, 27 insertions, 4 deletions
diff --git a/man3/libsimple_vreallocn.3 b/man3/libsimple_vreallocn.3
index 2f61307..bddce8b 100644
--- a/man3/libsimple_vreallocn.3
+++ b/man3/libsimple_vreallocn.3
@@ -1,6 +1,7 @@
-.TH LIBSIMPLE_VREALLOCN 3 2018-11-03 libsimple
+.TH LIBSIMPLE_VREALLOCN 3 libsimple
.SH NAME
libsimple_vreallocn \- reallocate memory
+
.SH SYNOPSIS
.nf
#include <libsimple.h>
@@ -34,6 +35,7 @@ static inline void *libsimple_ereallocn(void *\fIptr\fP, size_t \fIn\fP, ..., /*
.PP
Link with
.IR \-lsimple .
+
.SH DESCRIPTION
The
.BR libsimple_reallocn (),
@@ -43,7 +45,7 @@ and
functions are wrappers for the
.BR realloc (3)
function, they reallocate memory allocated on
-the heap and return the older pointer ot a new
+the heap and return the older pointer or a new
pointer with the alignment of
.I alignof(max_align_t)
to the allocated memory of
@@ -106,6 +108,7 @@ and
respectively, that use
.B va_list
instead of variadic arguments.
+
.SH RETURN VALUE
The
.BR libsimple_vreallocn (),
@@ -131,11 +134,13 @@ it indicate the error, and the
and
.BR libsimple_ereallocn ()
functions terminated the process.
+
.SH ERRORS
The
-.BR libsimple_vreallocn (),
+.BR libsimple_vreallocn ()
+and
.BR libsimple_reallocn ()
-function will fail for the reasons specified for the
+functions will fail for the reasons specified for the
.BR realloc (3)
function, and if:
.TP
@@ -150,6 +155,7 @@ The
and
.BR libsimple_ereallocn ()
functions will terminate the process on failure.
+
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
@@ -198,18 +204,25 @@ T{
.BR libsimple_ereallocn ()
T} Async-cancel safety AC-Safe
.TE
+
.SH EXAMPLES
None.
+
.SH APPLICATION USAGE
None.
+
.SH RATIONALE
None.
+
.SH FUTURE DIRECTIONS
None.
+
.SH NOTES
None.
+
.SH BUGS
None.
+
.SH SEE ALSO
.BR libsimple_enmalloc (3),
.BR libsimple_mallocz (3),
@@ -218,6 +231,16 @@ None.
.BR libsimple_encalloc (3),
.BR libsimple_vcallocn (3),
.BR libsimple_enrealloc (3),
+.BR libsimple_reallocarray (3),
+.BR libsimple_reallocf (3),
+.BR libsimple_reallocarrayf (3),
+.BR libsimple_vreallocfn (3),
+.BR libsimple_aligned_realloc (3),
+.BR libsimple_aligned_reallocarray (3),
+.BR libsimple_aligned_vreallocn (3),
+.BR libsimple_aligned_reallocf (3),
+.BR libsimple_aligned_reallocarrayf (3),
+.BR libsimple_aligned_vreallocfn (3),
.BR libsimple_memalign (3),
.BR libsimple_memalignz (3),
.BR libsimple_vmemalignn (3),