OSDN Git Service

(split) LDP: Update release pages
[linuxjm/LDP_man-pages.git] / release / man3 / posix_memalign.3
index 8ba68aa..4c25673 100644 (file)
@@ -94,12 +94,10 @@ _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTEND
 .PD
 .SH 説明
 .\" glibc does this:
-The function \fBposix_memalign\fP()  allocates \fIsize\fP bytes and places the
-address of the allocated memory in \fI*memptr\fP.  The address of the allocated
-memory will be a multiple of \fIalignment\fP, which must be a power of two and
-a multiple of \fIsizeof(void\ *)\fP.  If \fIsize\fP is 0, then the value placed in
-\fI*memptr\fP is either NULL, or a unique pointer value that can later be
-successfully passed to \fBfree\fP(3).
+関数 \fBposix_memalign\fP()  は、 \fIsize\fP バイトのメモリを割り当て、割り当てられたメモリのアドレスを \fI*memptr\fP
+に設定する。 割り当てられたメモリのアドレスは \fIalignment\fP の倍数になっているはずである。 \fIalignment\fP は 2
+のべき乗で、かつ \fIsizeof(void\ *)\fP の倍数でなければならない。 \fIsize\fP が 0 の場合、 \fI*memptr\fP には
+NULL か一意なポインタ値が書かれる。 このポインタ値は、後で \fBfree\fP(3)  に問題なく渡すことができる。
 
 .\" The behavior of memalign() for size==0 is as for posix_memalign()
 .\" but no standards govern this.