The following code changes the protection of a memory
mapped area. For the callable service, see
mmap (BPX1MMP, BPX4MMP) — Map pages of memory.
AMODE 64 callers use
BPX4MMP (mmap) example.
MVC FILEDESC,.. File descriptor 37
SPACE ,
CALL BPX1MMP, map pages of memory +
(MAP_ADDRESS, Input: address of mapped area +
MAP_LENGTH, Input: area length +
=A(MAP_PRIVATE), Input: Map type +
FILEDESC, Input: File descriptor +
FILEOFFSET, Input: File offset +
RETVAL, Return value: 0 or -1 +
RETCODE, Return code +
RSNCODE), Reason code +
VL,MF=(E,PLIST) ----------------------------------