| 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.
| “ | Ken Thompson has an automobile which he helped design. Unlike most automobiles, it has neither speedometer, nor gas gauge, nor any of the other numerous idiot lights which plague the modern driver. Rather, if the driver makes a mistake, a giant “?” lights up in the center of the dashboard. “The experienced driver,” says Thompson, “will usually know what's wrong.” | ” |