madvise.2 (13836) | madvise.2 (14326) |
---|---|
1.\" Copyright (c) 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 26 unchanged lines hidden (view full) --- 35.Dt MADVISE 2 36.Os 37.Sh NAME 38.Nm madvise 39.Nd give advise about use of memory 40.Sh SYNOPSIS 41.Fd #include <sys/types.h> 42.Fd #include <sys/mman.h> | 1.\" Copyright (c) 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 26 unchanged lines hidden (view full) --- 35.Dt MADVISE 2 36.Os 37.Sh NAME 38.Nm madvise 39.Nd give advise about use of memory 40.Sh SYNOPSIS 41.Fd #include <sys/types.h> 42.Fd #include <sys/mman.h> |
43.Fn madvise "caddr_t addr" "int len" "int behav" | 43.Fn madvise "caddr_t addr" "size_t len" "int behav" |
44.Sh DESCRIPTION 45The 46.Fn madvise 47system call 48allows a process that has knowledge of its memory behavior 49to describe it to the system. 50The known behaviors are given in 51.Pa <sys/mman.h> : --- 22 unchanged lines hidden --- | 44.Sh DESCRIPTION 45The 46.Fn madvise 47system call 48allows a process that has knowledge of its memory behavior 49to describe it to the system. 50The known behaviors are given in 51.Pa <sys/mman.h> : --- 22 unchanged lines hidden --- |