diff src/lib/mmap-util.h @ 221:ed0d5b17c7a4 HEAD

Added extra functions for easier printing of error messages. Moved file_set_size() to generic function in lib. If there's no space to build hash file, it builds itself in anon-mmaped memory and stays there.
author Timo Sirainen <tss@iki.fi>
date Fri, 13 Sep 2002 03:01:23 +0300
parents 3b1985cbc908
children cf4d065f2f85
line wrap: on
line diff
--- a/src/lib/mmap-util.h	Fri Sep 13 02:09:45 2002 +0300
+++ b/src/lib/mmap-util.h	Fri Sep 13 03:01:23 2002 +0300
@@ -21,4 +21,6 @@
 void *mmap_aligned(int fd, int access, off_t offset, size_t length,
 		   void **data_start, size_t *mmap_length);
 
+void *mmap_anonymous(size_t length);
+
 #endif