Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Dec 1997 17:22:03 -0800 (PST)
From:      Alex Nash <alex@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG, cvs-sys@FreeBSD.ORG
Subject:   cvs commit: src/lib/libc/sys madvise.2 mincore.2 minherit.2 mlock.2 mmap.2 mmap.c mprotect.2 msync.2 munmap.2 src/sys/sys mman.h types.h
Message-ID:  <199712310122.RAA19407@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
alex        1997/12/30 17:22:03 PST

  Modified files:
    lib/libc/sys         madvise.2 mincore.2 minherit.2 mlock.2 
                         mmap.2 mmap.c mprotect.2 msync.2 munmap.2 
    sys/sys              mman.h types.h 
  Log:
  Convert caddr_t --> void * for sys/mman.h functions.
  
  mlock, mmap, mprotect, msync, munlock, and munmap are defined by
  POSIX as taking void *.  The const modifier has been added to
  mlock, munlock, and mprotect as the standard dictates.
  
  minherit comes from OpenBSD and has been updated to conform with
  their recent change to void *.
  
  madvise and mincore are not defined by POSIX, but their arguments
  have been modified to be consistent with the POSIX-defined functions.
  mincore takes a const pointer, but madvise does not due to the
  MADV_FREE case.
  
  Discussed with:	bde
  
  Revision  Changes    Path
  1.12      +2 -2      src/lib/libc/sys/madvise.2
  1.10      +2 -2      src/lib/libc/sys/mincore.2
  1.5       +2 -2      src/lib/libc/sys/minherit.2
  1.3       +2 -2      src/lib/libc/sys/mlock.2
  1.14      +2 -2      src/lib/libc/sys/mmap.2
  1.2       +3 -3      src/lib/libc/sys/mmap.c
  1.7       +1 -1      src/lib/libc/sys/mprotect.2
  1.10      +1 -1      src/lib/libc/sys/msync.2
  1.8       +1 -1      src/lib/libc/sys/munmap.2
  1.20      +11 -11    src/sys/sys/mman.h
  1.22      +2 -2      src/sys/sys/types.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712310122.RAA19407>