mvalid man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

mvalid(2)							     mvalid(2)

NAME
       mvalid() - check memory region for validity

SYNOPSIS

   Parameters
       addr    The address of the region whose validity is to be checked.

       len     The length in bytes of the region specified by the addr parame‐
	       ter.

       prot    The desired access protection for the region.

DESCRIPTION
       The function checks the validity of a memory region.  A region is  con‐
       sidered	to  be	valid if accesses of the requested type are allowed to
       all addresses in the region.

       The header file defines the following access options:

	      The mapped region can be read.

	      The mapped region can be written.

	      The mapped region can be executed.

       The prot parameter can be any combination of and ORed together.

RETURN VALUES
       The function returns:

	      Success.
		     Accesses requiring the specified protection  are  allowed
		     to all addresses within the specified range of addresses.

	      Failure.
		     is set to indicate the error.

ERRORS
       If the function fails, may be set to one of the following values:

       The range specified by
		      (addr,  addr+len)	 is  invalid for the process's address
		      space, or the  range  specifies  one  or	more  unmapped
		      pages,  or  one  or  more	 pages	of the range disallows
		      accesses of the specified protection.

       The	      prot parameter is invalid, or the addr parameter is  not
		      a multiple of the page size as returned by

       The range specified by
		      (addr,  addr+len)	 is  invalid for the process's address
		      space, or the  range  specifies  one  or	more  unmapped
		      pages.

AUTHOR
       was developed by HP.

SEE ALSO
       mmap(2), mprotect(2), sysconf(2).

								     mvalid(2)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net