Hi,
According to my reading of POSIX.4, if _POSIX_MAPPED_FILES and
_POSIX_SYNCHRONIZED_IO are defined (as they are on the hurd), then
msync is available. On the hurd, both are defined, and a prototype
for msync is available in sys/mman.h as expected. However, neither
this file nor bits/mman.h define the flags that msync takes, ie: MS_SYNC,
MS_ASYNC and MS_INVALIDATE are defined. I do not believe that one can
use msync without these flags. In conclusion, two questions:
1) Is msync really defined (ie working)?
2) If so, why are the MS_* flags not defined?
If not, why is there are prototype, and why are the appropriate
preprocessor variables defined.
Thanks,
-Neal
--
Neal H Walfield
University of Massachusetts at Lowell
[EMAIL PROTECTED] or [EMAIL PROTECTED]