You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Marc Slemko <ma...@znep.com> on 1998/01/01 19:13:17 UTC

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 (fwd)

We use caddr_t for things.

---------- Forwarded message ----------
Date: Tue, 30 Dec 1997 17:22:03 -0800 (PST)
From: Alex Nash <al...@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

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


Re: 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 (fwd)

Posted by Dean Gaudet <dg...@arctic.org>.

On Thu, 1 Jan 1998, Marc Slemko wrote:

> We use caddr_t for things.

I just love standards. 

We'll need a "#define MMAP_T". 

Dean