HomeFreeBSD

Fix calls to mmap. It returns void *, and on failure it returns

Description

Fix calls to mmap. It returns void *, and on failure it returns
MAP_FAILED.

Don't try to extend the mapping in place if it is too short.
There's no guarantee it will be possible. Remap the file instead.

Put in a few style fixes.

Submitted by: Bruce Evans <bde>

Details

Provenance
John Polstra <jdp@FreeBSD.org>Authored on Sep 6 1998, 8:43 PM
Parents
rG03507b21239f: Clean LINT
Branches
Unknown
Tags
Unknown

Event Timeline