madvise.2 (2010 09)

m
madvise(2) madvise(2)
[EINVAL] behav contains an invalid value, or addr is not a multiple of the page size as
returned by the system call
sysconf(_SC_PAGE_SIZE)
.
[EINVAL] The address range specified by addr and len was not created by a successful call to
mmap() or shmat().
AUTHOR
madvise() was developed by HP and OSF.
SEE ALSO
mmap(2), sysconf(2).
STANDARDS CONFORMANCE
madvise(): AES, SVID3
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010