Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   madvise    ( 2 )

дать совет по использованию памяти (give advice about use of memory)

  Name  |  Synopsis  |  Description  |  Return value  |  Error  |  Versions  |  Conforming to  |    Note    |  See also  |

Примечание (Note)

Linux notes
       The Linux implementation requires that the address addr be page-
       aligned, and allows length to be zero.  If there are some parts
       of the specified address range that are not mapped, the Linux
       version of madvise() ignores them and applies the call to the
       rest (but returns ENOMEM from the system call, as it should).