Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ msync(2) — 386BSD 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought



MSYNC(2)                       1991                      MSYNC(2)


NAME
       msync - synchronize a mapped region

SYNOPSIS
       msync(addr, len)
       caddrt addr;
       int len;

DESCRIPTION
       The  msync  system  call writes any modified pages back to
       the filesystem and updates the file modification time.  If
       len  is 0, all modified pages within the region containing
       addr will be flushed; if len is non-zero, only  the  pages
       containing  addr  and  len  succeeding  locations  will be
       examined.  Any required synchronization of  memory  caches
       will  also take place at this time.  Filesystem operations
       on a file that is  mapped  for  shared  modifications  are
       unpredictable except after an msync.

SEE ALSO
       msync.2, munmap.2, mprotect.2, madvise.2, mincore.2




































27,                            May                              1


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026