lib: graph: add "self" and some "private" APIs
[babeltrace.git] / include / babeltrace / compat / mman-internal.h
index 5e4ac9231cb7f5ae7c7e5adbfa55edc6bcd7f6ab..9f494526617469f5292a7341ee803a5ab26c9cda 100644 (file)
@@ -2,8 +2,6 @@
 #define _BABELTRACE_COMPAT_MMAN_H
 
 /*
- * babeltrace/compat/mman.h
- *
  * Copyright (C) 2015-2016  Michael Jeanson <mjeanson@efficios.com>
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
 #define MAP_ANON       MAP_ANONYMOUS
 #define MAP_FAILED     ((void *) -1)
 
+/*
+ * Note that some platforms (e.g. Windows) do not allow read-only
+ * mappings to exceed the file's size (even within a page).
+ */
 void *bt_mmap(void *addr, size_t length, int prot, int flags, int fd,
        off_t offset);
 
This page took 0.027084 seconds and 4 git commands to generate.