]> git.ozlabs.org Git - ccan/blobdiff - ccan/alloc/_info.c
CRC module.
[ccan] / ccan / alloc / _info.c
index 61c00464470bd2f8ebae40c18cb59048a34de8c4..9b00284f9e878c387c637e0bd4ea6d2092a9329e 100644 (file)
  *     #include <unistd.h>
  *     #include <sys/types.h>
  *     #include <err.h>
- *     #include "alloc/alloc.h"
+ *     #include <sys/stat.h>
+ *     #include <fcntl.h>
+ *     #include <string.h>
+ *     #include <ccan/alloc/alloc.h>
  *
  *     static void usage(const char *name)
  *     {
  *             errx(1, "Usage: %s --create <mapfile>\n"
  *                  " %s --check <mapfile>\n"
  *                  " %s --alloc <mapfile>\n"
- *                  " %s --free=<offset> <mapfile>\n", name, name, name);
+ *                  " %s --free=<offset> <mapfile>\n", name, name, name, name);
  *     }
  *
  *     // Create a memory mapped file, and allocate from within it