-
-/* this provides functionality somewhat similar to mmap() but using
- read(). It gives sliding window access to a file. mmap() is not
- used because of the possibility of another program (such as a
- mailer) truncating the file thus giving us a SIGBUS */
-struct map_struct *map_file(int fd,OFF_T len)
+/* This provides functionality somewhat similar to mmap() but using read().
+ * It gives sliding window access to a file. mmap() is not used because of
+ * the possibility of another program (such as a mailer) truncating the
+ * file thus giving us a SIGBUS. */
+struct map_struct *map_file(int fd, OFF_T len, OFF_T map_size,
+ int32 blk_size)