#include <sys/stat.h>
#include <fcntl.h>
#include <stdlib.h>
-#include <assert.h>
-#include <ev.h>
#include <unistd.h>
int bufio_chain_append(bufio_chain *bc, void *buf, size_t len) {
#include <ev.h>
+#include <assert.h>
/***** COMPILER-SPECIFIC STUFF *****/
#ifdef __GNUC__
// Copyright (2013) Jann Horn <jann@thejh.net>
HEADER #include <sys/types.h>
-#include <assert.h>
#include <string.h>
static inline char hexchar(unsigned char c) {
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
-#include <assert.h>
#include <sys/mman.h>
// Wrapper for `read` that retries on partial reads.
fclose(*in);
err_out:
return EAI_SYSTEM;
-}
\ No newline at end of file
+}
#include <errno.h>
#include <unistd.h>
#include <stdbool.h>
-#include <assert.h>
-#include <ev.h>
static void connection_waiting_cb(struct ev_loop *loop, ev_io *w, int revents) {
bufio_connection *con = (bufio_connection *)w->data;
#include <stdio.h>
#include <stdlib.h>
-#include <assert.h>
#include <string.h>
#include <errno.h>