From: Simone Piccardi Date: Mon, 28 Apr 2014 15:06:46 +0000 (+0000) Subject: code snippet della read su un timerfd X-Git-Url: https://gapil.gnulinux.it/gitweb/?a=commitdiff_plain;h=4b7a16e1137d5e5f14b10a6d3564ee7ffc6c579f;p=gapil.git code snippet della read su un timerfd --- diff --git a/listati/readtimerfd.c b/listati/readtimerfd.c new file mode 100644 index 0000000..d8f110b --- /dev/null +++ b/listati/readtimerfd.c @@ -0,0 +1,3 @@ + uint64_t nexp; + ... + read(fd, &nexp, sizeof(uint64_t));