Путеводитель по Руководству 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  |

Синопсис (Synopsis)

#include <sys/mman.h>

int madvise(void *addr, size_t length, int advice);

Feature Test Macro Requirements for glibc (see feature_test_macros(7)):

madvise(): Since glibc 2.19: _DEFAULT_SOURCE Up to and including glibc 2.19: _BSD_SOURCE