# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2026-06-05 06:35+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "posix_memalign" msgstr "" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2026-02-08" msgstr "" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "Linux man-pages 6.18" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "posix_memalign - allocate aligned memory" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Standard C library (I,\\ I<-lc>)" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<#include Estdlib.hE>\n" msgstr "" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "BIB<, size_t >IB<, size_t >IB<);>\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Feature Test Macro Requirements for glibc (see B(7)):" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "B():" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid " _POSIX_C_SOURCE E= 200112L\n" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "" #. glibc does this: #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() allocates I bytes and places the address of the " "allocated memory in I<*memptr>. The address of the allocated memory will be " "a multiple of I, which must be a power of two and a multiple of " "I. This address can later be successfully passed to " "B(3). If I is 0, then the value placed in I<*memptr> is either " "NULL or a unique pointer value." msgstr "" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "The memory is not zeroed." msgstr "" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "B(3) is a standard function that provides the same " "functionality, and has a more ergonomic prototype. Use that instead." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "RETURN VALUE" msgstr "" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "B() returns zero on success, or one of the error values " "listed in the next section on failure. The value of I is not set." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ERRORS" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The I argument was not a power of two, or was not a multiple of " "I." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Out of memory." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ATTRIBUTES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For an explanation of the terms used in this section, see B(7)." msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Interface" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Attribute" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Value" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid ".na\n" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid ".nh\n" msgstr "" #. #-#-#-#-# archlinux: posix_memalign.3.pot (PACKAGE VERSION) #-#-#-#-# #. type: tbl table #. #-#-#-#-# debian-trixie: posix_memalign.3.pot (PACKAGE VERSION) #-#-#-#-# #. type: TP #. #-#-#-#-# debian-unstable: posix_memalign.3.pot (PACKAGE VERSION) #-#-#-#-# #. type: tbl table #. #-#-#-#-# fedora-44: posix_memalign.3.pot (PACKAGE VERSION) #-#-#-#-# #. type: TP #. #-#-#-#-# fedora-rawhide: posix_memalign.3.pot (PACKAGE VERSION) #-#-#-#-# #. type: TP #. #-#-#-#-# mageia-cauldron: posix_memalign.3.pot (PACKAGE VERSION) #-#-#-#-# #. type: tbl table #. #-#-#-#-# opensuse-leap-16-1: posix_memalign.3.pot (PACKAGE VERSION) #-#-#-#-# #. type: tbl table #. #-#-#-#-# opensuse-tumbleweed: posix_memalign.3.pot (PACKAGE VERSION) #-#-#-#-# #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Thread safety" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "MT-Safe" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "POSIX.1-2024." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "HISTORY" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "glibc 2.1.91. POSIX.1d, POSIX.1-2001." msgstr "" #. type: SH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "CAVEATS" msgstr "" #. http://austingroupbugs.net/view.php?id=520 #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "On Linux (and other systems), B() does not modify I " "on failure. A requirement standardizing this behavior was added in " "POSIX.1-2008 TC2." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "B(3)" msgstr "" #. type: TH #: debian-trixie #, no-wrap msgid "2024-05-02" msgstr "" #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "posix_memalign, aligned_alloc, memalign, valloc, pvalloc - allocate aligned " "memory" msgstr "" #. type: Plain text #: debian-trixie msgid "Standard C library (I, I<-lc>)" msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "BIB<, size_t >IB<, size_t >IB<);>\n" "BIB<, size_t >IB<);>\n" "B<[[deprecated]] void *valloc(size_t >IB<);>\n" msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B<#include Emalloc.hE>\n" msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "B<[[deprecated]] void *memalign(size_t >IB<, size_t >IB<);>\n" "B<[[deprecated]] void *pvalloc(size_t >IB<);>\n" msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "B():" msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid " _ISOC11_SOURCE\n" msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "B():" msgstr "" #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" " Since glibc 2.12:\n" " (_XOPEN_SOURCE E= 500) && !(_POSIX_C_SOURCE E= 200112L)\n" " || /* glibc E= 2.19: */ _DEFAULT_SOURCE\n" " || /* glibc E= 2.19: */ _SVID_SOURCE || _BSD_SOURCE\n" " Before glibc 2.12:\n" " _BSD_SOURCE || _XOPEN_SOURCE E= 500\n" msgstr "" #. The behavior of memalign() for size==0 is as for posix_memalign() #. but no standards govern this. #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The obsolete function B() allocates I bytes and returns a " "pointer to the allocated memory. The memory address will be a multiple of " "I, which must be a power of two." msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "B() is the same as B(), except for the added " "restriction that I must be a power of two." msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The obsolete function B() allocates I bytes and returns a " "pointer to the allocated memory. The memory address will be a multiple of " "the page size. It is equivalent to I." msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The obsolete function B() is similar to B(), but rounds " "the size of the allocation up to the next multiple of the system page size." msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "For all of these functions, the memory is not zeroed." msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "B(), B(), B(), and B() return a " "pointer to the allocated memory on success. On error, NULL is returned, and " "I is set to indicate the error." msgstr "" #. http://austingroupbugs.net/view.php?id=520 #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "B() returns zero on success, or one of the error values " "listed in the next section on failure. The value of I is not set. " "On Linux (and other systems), B() does not modify I " "on failure. A requirement standardizing this behavior was added in " "POSIX.1-2008 TC2." msgstr "" #. type: tbl table #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "B(),\n" "B(),\n" "B()" msgstr "" #. type: tbl table #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "B(),\n" "B()" msgstr "" #. type: tbl table #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "MT-Unsafe init" msgstr "" #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B()" msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "C11." msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "POSIX.1-2008." msgstr "" #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B()" msgstr "" #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B()" msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "None." msgstr "" #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "B()" msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "GNU." msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "glibc 2.16. C11." msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "glibc 2.0. SunOS 4.1.3." msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "glibc 2.0. 3.0BSD. Documented as obsolete in 4.3BSD, and as legacy in " "SUSv2." msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "glibc 2.0." msgstr "" #. type: SS #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "Headers" msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Everybody agrees that B() is declared in " "Istdlib.hE>." msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "On some systems B() is declared in Istdlib.hE> instead " "of Imalloc.hE>." msgstr "" #. Libc4,5 and #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "According to SUSv2, B() is declared in Istdlib.hE>. " "glibc declares it in Imalloc.hE>, and also in " "Istdlib.hE> if suitable feature test macros are defined (see " "above)." msgstr "" #. type: SH #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "NOTES" msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "On many systems there are alignment restrictions, for example, on buffers " "used for direct block device I/O. POSIX specifies the " "I call that tells what alignment is " "needed. Now one can use B() to satisfy this requirement." msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "B() verifies that I matches the requirements " "detailed above. B() may not check that the I argument " "is correct." msgstr "" #. Other systems allow passing the result of #. .IR valloc () #. to #. .IR free (3), #. but not to #. .IR realloc (3). #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "POSIX requires that memory obtained from B() can be freed " "using B(3). Some systems provide no way to reclaim memory allocated " "with B() or B() (because one can pass to B(3) " "only a pointer obtained from B(3), while, for example, " "B() would call B(3) and then align the obtained value). " "The glibc implementation allows memory obtained from any of these functions " "to be reclaimed with B(3)." msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The glibc B(3) always returns 8-byte aligned memory addresses, so " "these functions are needed only if you require larger alignment values." msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "B(2), B(2), B(3), B(3)" msgstr "" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2024-07-23" msgstr "" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "Linux man-pages 6.13" msgstr "" #. type: TH #: mageia-cauldron #, no-wrap msgid "Linux man-pages 6.17" msgstr "" #. type: TH #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr ""