Merge branch 'refs/heads/t/doc-improvements'
[adu.git] / fd.h
1 /*
2 * Copyright (C) 2006-2008 Andre Noll <maan@tuebingen.mpg.de>
3 *
4 * Licensed under the GPL v2. For licencing details see COPYING.
5 */
6
7 /** \file fd.h \brief Exported symbols from fd.c */
8
9 int adu_opendir(const char *dirname, DIR **dir, int *cwd);
10 int adu_fchdir(int fd);
11 int mmap_file_ro(const char *filename, void **map, size_t *size);
12 int adu_munmap(void *start, size_t length);
13 int adu_write_file(const char *filename, const void *buf, size_t size);
14 int mkpath(const char *p, mode_t mode);