The OpenNET Project / Index page

[ новости /+++ | форум | wiki | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

posix_memalign (3)
  • posix_memalign (3) ( Solaris man: Библиотечные вызовы )
  • >> posix_memalign (3) ( FreeBSD man: Библиотечные вызовы )
  • posix_memalign (3) ( Русские man: Библиотечные вызовы )
  • posix_memalign (3) ( Linux man: Библиотечные вызовы )
  • posix_memalign (3) ( POSIX man: Библиотечные вызовы )

  • BSD mandoc
     

    NAME

    
    
    posix_memalign
    
     - aligned memory allocation
    
     
    

    LIBRARY

    Lb libc
    
     
    

    SYNOPSIS

       #include <stdlib.h>
    int posix_memalign (void **ptr size_t alignment size_t size);
     

    DESCRIPTION

    The posix_memalign ();
    function allocates Fa size bytes of memory such that the allocation's base address is an even multiple of Fa alignment , and returns the allocation in the value pointed to by Fa ptr .

    The requested Fa alignment must be a power of 2 at least as large as sizeof (void * .);

    Memory that is allocated via posix_memalign ();
    can be used as an argument in subsequent calls to realloc(3), reallocf(3), and free(3).  

    RETURN VALUES

    The posix_memalign ();
    function returns the value 0 if successful; otherwise it returns an error value.  

    ERRORS

    The posix_memalign ();
    function will fail if:

    Bq Er EINVAL
    The Fa alignment parameter is not a power of 2 at least as large as sizeof (void * .);
    Bq Er ENOMEM
    Memory allocation error.

     

    SEE ALSO

    free(3), malloc(3), realloc(3), reallocf(3), valloc(3)  

    STANDARDS

    The posix_memalign ();
    function conforms to St -p1003.1-2001 .  

    HISTORY

    The posix_memalign ();
    function first appeared in Fx 7.0 .


     

    Index

    NAME
    LIBRARY
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    ERRORS
    SEE ALSO
    STANDARDS
    HISTORY


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру