Ignore:
Timestamp:
Aug 11, 2020, 4:40:15 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
0d070ca
Parents:
07d867b (diff), 129674b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into new-ast

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/io/simple/server.c

    r07d867b r22f94a4  
     1/*
     2This is a simple server that users io_uring in blocking mode.
     3It demonstrates the bare minimum needed to use io_uring.
     4It uses liburing for simplicity.
     5*/
     6
     7
    18#include <assert.h>
    29#include <stdio.h>
     
    1623char data[256];
    1724struct iovec iov = { data, 256 };
    18 struct msghdr msg = { "", 0, &iov, 1, NULL, 0, 0 };
     25struct msghdr msg = { (void *)"", 0, &iov, 1, NULL, 0, 0 };
    1926static void async_read(int sock) {
    2027        /* get an sqe and fill in a READ operation */
Note: See TracChangeset for help on using the changeset viewer.