aboutsummaryrefslogtreecommitdiffstats
path: root/man3/libsimple_memalign.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/libsimple_memalign.3')
-rw-r--r--man3/libsimple_memalign.314
1 files changed, 13 insertions, 1 deletions
diff --git a/man3/libsimple_memalign.3 b/man3/libsimple_memalign.3
index e462bef..8bbf57e 100644
--- a/man3/libsimple_memalign.3
+++ b/man3/libsimple_memalign.3
@@ -1,6 +1,7 @@
-.TH LIBSIMPLE_MEMALIGN 3 2018-11-03 libsimple
+.TH LIBSIMPLE_MEMALIGN 3 libsimple
.SH NAME
libsimple_memalign \- allocate memory with custom alignment
+
.SH SYNOPSIS
.nf
#include <libsimple.h>
@@ -22,6 +23,7 @@ static inline void *libsimple_ememalign(size_t \fIalignment\fP, size_t \fIn\fP);
.PP
Link with
.IR \-lsimple .
+
.SH DESCRIPTION
The
.BR libsimple_memalign (),
@@ -68,6 +70,7 @@ and
functions behaviour is unspecified if
.I n
is 0.
+
.SH RETURN VALUE
The
.BR libsimple_memalign (),
@@ -86,6 +89,7 @@ it indicate the error, and the
and
.BR libsimple_ememalign ()
functions terminated the process.
+
.SH ERRORS
The
.BR libsimple_memalign ()
@@ -107,6 +111,7 @@ The
and
.BR libsimple_ememalign ()
functions will terminate the process on failure.
+
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
@@ -137,14 +142,19 @@ T{
.BR libsimple_ememalign ()
T} Async-cancel safety AC-Safe
.TE
+
.SH EXAMPLES
None.
+
.SH APPLICATION USAGE
None.
+
.SH RATIONALE
None.
+
.SH FUTURE DIRECTIONS
None.
+
.SH NOTES
Portable applications shall assume that pointer
returned by the
@@ -154,8 +164,10 @@ function can be deallocated with the
functon, unless the namespaced alias
.BR libsimple_memalign ()
is used explicitly.
+
.SH BUGS
None.
+
.SH SEE ALSO
.BR libsimple_enmalloc (3),
.BR libsimple_mallocz (3),