


     mmap_X(LSB.os/mfiles)LSB-OS (The Open Group)mmap_X(LSB.os/mfiles)



     NAME
	  LSB.os/mfiles/mmap_X - map pages of memory testset

     DESCRIPTION
	  Tests	the mmap() function for	conformance to the X/Open
	  extensions defined in	System Interfaces and Headers, Issue 5
	  Page:	mmap().
	  These	tests are supplemental to those	defined	for this
	  function in VSU and in the mmap and mmap_P testsets.	They
	  deal with applying mmap() to shared memory objects.

     TESTS
     Compliance
	  1    If _POSIX_SHARED_MEMORY_OBJECTS is defined or the
	       implementation supports the mmap() function as defined
	       in System Interfaces and	Headers, Issue 5:
		 A call	to mmap() when fildes refers to	a shared
		 memory	object and addr	is not a multiple of the page
		 size and MAP_FIXED is specified shall return
		 MAP_FAILED and	set errno to EINVAL.

	  Note:	This test is NOTINUSE for LSB testing.

	  2    If _POSIX_SHARED_MEMORY_OBJECTS is defined or the
	       implementation supports the mmap() function as defined
	       in System Interfaces and	Headers, Issue 5:
		 A call	to mmap() when fildes refers to	a shared
		 memory	object and off is not a	multiple of the	page
		 size shall return MAP_FAILED and set errno to EINVAL.

	  Note:	This test is NOTINUSE for LSB testing.

     RELEASE
	  Release LSB-OS
	  Copyright (c)	1997 X/Open Company Ltd., A member of The Open
	  Group.
	  All rights reserved


















     Page 1					    (printed 2/21/103)



