| Main index | Section 2 | 日本語 | Deutsch | Options |
#include <sys/mman.h>
| MS_ASYNC | Return immediately |
| MS_SYNC | Perform synchronous writes |
| MS_INVALIDATE | |
| Invalidate all cached data | |
| [EBUSY] | |
| Some or all of the pages in the specified region are locked and MS_INVALIDATE is specified. | |
| [EINVAL] | |
| The addr argument is not a multiple of the hardware page size. | |
| [ENOMEM] | |
| The addresses in the range starting at addr and continuing for len bytes are outside the range allowed for the address space of a process or specify one or more pages that are not mapped. | |
| [EINVAL] | |
| The flags argument was both MS_ASYNC and MS_INVALIDATE. Only one of these flags is allowed. | |
| [EIO] | An error occurred while writing at least one of the pages in the specified region. |
| MSYNC (2) | March 18, 2012 |
| Main index | Section 2 | 日本語 | Deutsch | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | On two occasions I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question. | ” |
| — Charles Babbage | ||