Print this page
12010 extra whitespace in mmap(2)
*** 22,39 ****
The mmap() function establishes a mapping between the address space of
the process at an address pa for len bytes to the memory object
represented by the file descriptor fildes at offset off for len bytes.
! The value of pa is a function of the addr argument and values of
! flags, further described below. A successful mmap() call returns pa as
! its result. The address range starting at pa and continuing for len
! bytes will be legitimate for the possible (not necessarily current)
! address space of the process. The range of bytes starting at off and
! continuing for len bytes will be legitimate for the possible (not
! necessarily current) offsets in the file or shared memory object
! represented by fildes.
The mmap() function allows [pa, pa + len) to extend beyond the end of
the object both at the time of the mmap() and while the mapping
persists, such as when the file is created prior to the mmap() call and
--- 22,39 ----
The mmap() function establishes a mapping between the address space of
the process at an address pa for len bytes to the memory object
represented by the file descriptor fildes at offset off for len bytes.
! The value of pa is a function of the addr argument and values of flags,
! further described below. A successful mmap() call returns pa as its
! result. The address range starting at pa and continuing for len bytes
! will be legitimate for the possible (not necessarily current) address
! space of the process. The range of bytes starting at off and continuing
! for len bytes will be legitimate for the possible (not necessarily
! current) offsets in the file or shared memory object represented by
! fildes.
The mmap() function allows [pa, pa + len) to extend beyond the end of
the object both at the time of the mmap() and while the mapping
persists, such as when the file is created prior to the mmap() call and
*** 96,108 ****
application must have opened the file descriptor fildes with write
permission unless MAP_PRIVATE is specified in the flags argument as
described below.
! The flags argument provides other information about the handling of
! the mapped data. The value of flags is the bitwise inclusive OR of
! these options, defined in <sys/mman.h>:
MAP_SHARED
Changes are shared.
--- 96,108 ----
application must have opened the file descriptor fildes with write
permission unless MAP_PRIVATE is specified in the flags argument as
described below.
! The flags argument provides other information about the handling of the
! mapped data. The value of flags is the bitwise inclusive OR of these
! options, defined in <sys/mman.h>:
MAP_SHARED
Changes are shared.
*** 616,621 ****
msync(3C), plock(3C), sysconf(3C), attributes(5), lf64(5),
standards(5), null(7D), zero(7D)
! August 29, 2016 MMAP(2)
--- 616,621 ----
msync(3C), plock(3C), sysconf(3C), attributes(5), lf64(5),
standards(5), null(7D), zero(7D)
! November 19, 2019 MMAP(2)