2 * Copyright (C) 2006-2008 Andre Noll <maan@systemlinux.org>
4 * Licensed under the GPL v2. For licencing details see COPYING.
7 /** \file fd.h exported symbols from fd.c */
9 int adu_opendir(const char *dirname, DIR **dir, int *cwd);
10 int adu_fchdir(int fd);
11 int mmap_full_file(const char *filename, int open_mode, void **map,
12 size_t *size, int *fd_ptr);
13 int adu_munmap(void *start, size_t length);
14 int adu_write_file(const char *filename, const void *buf, size_t size);