Changeset 0640189e


Ignore:
Timestamp:
Aug 4, 2021, 2:40:05 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
5541ea3d
Parents:
e19fadd
Message:

Added example of a server using o_NONBLOCK, which does NOT work with io_uring

Location:
example/io/simple
Files:
1 added
1 edited

Legend:

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

    re19fadd r0640189e  
    105105                                }
    106106
    107                                 printf("'%.*s'\n", cqe->res, data);
     107                                printf("'%.*s'\n", cqe->res - 1, data);
    108108
    109109                                async_read( newsock );
Note: See TracChangeset for help on using the changeset viewer.