4.4BSD/usr/share/man/cat2/madvise.0

Compare this file to the similar file:
Show the results in this format:

MADVISE(2)                  BSD Programmer's Manual                 MADVISE(2)

NNAAMMEE
     mmaaddvviissee - give advise about use of memory

SSYYNNOOPPSSIISS
     mmaaddvviissee(_c_a_d_d_r___t _a_d_d_r, _i_n_t _l_e_n, _i_n_t _b_e_h_a_v);

DDEESSCCRRIIPPTTIIOONN
     The mmaaddvviissee() system call allows a process that has knowledge of its mem-
     ory behavior to describe it to the system.  The known behaviors are given
     in _<_s_y_s_/_m_m_a_n_._h_>:

     #define MADV_NORMAL     0       /* no further special treatment */
     #define MADV_RANDOM     1       /* expect random page references */
     #define MADV_SEQUENTIAL 2       /* expect sequential references */
     #define MADV_WILLNEED   3       /* will need these pages */
     #define MADV_DONTNEED   4       /* don't need these pages */
     #define MADV_SPACEAVAIL 5       /* insure that resources are reserved */

SSEEEE AALLSSOO
     msync(2),  munmap(2),  mprotect(2),  mincore(2)

HHIISSTTOORRYY
     The mmaaddvviissee function first appeared in 4.4BSD.

4.4BSD                           June 9, 1993                                1