Commit 24e693ff authored by Roland Haas's avatar Roland Haas
Browse files

async_writer: add test code

parent 13839c73
#include "async_writer.hh"
#include <cstdio>
#include <cstring>
int main(void)
async_writer writer(stdout);
writer.write(strdup("foo\n"), 4);;
writer.write(strdup("aa"), 2);
return 0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment