]> git.ozlabs.org Git - ccan-lca-2011.git/blobdiff - ccan/oserver/_info
lca2011: dump on SIGHUP.
[ccan-lca-2011.git] / ccan / oserver / _info
index 5dfc5f88fb27a001e1e9b68fb807cbbf9ff669e0..9107e66323806facf8cdfde91320f9509ef68c27 100644 (file)
@@ -8,10 +8,6 @@
  *
  * License: GPL
  *
- * Ccanlint:
- *     // hack to make valgrind show the error.  FIXME!
- *     tests_pass_valgrind  --child-silent-after-fork=no
- *
  * Example:
  *     #include <sys/types.h>
  *     #include <sys/socket.h>
@@ -34,7 +30,7 @@
  *             if (argc != 1)
  *                     opt_log_stderr_exit("Unknown extra arguments");
  *
- *             if (!oserver_setup(ev, port))
+ *             if (!oserver_setup(ev, port, "/var/run/oserver/dump"))
  *                     err(1, "Failed to set up server");
  *
  *             while (tevent_loop_wait(ev) == 0);
@@ -55,6 +51,7 @@ int main(int argc, char *argv[])
                printf("ccan/opt\n");
                printf("ccan/array_size\n");
                printf("ccan/tevent\n");
+               printf("ccan/cdump\n");
                return 0;
        }