/** \file fd.c Helper functions for file descriptor handling. */
+#include <regex.h>
#include <sys/types.h>
#include <dirent.h>
#include <sys/mman.h>
#include "para.h"
#include "error.h"
#include "string.h"
+
/**
* Write a buffer to a file descriptor, re-write on short writes.
*