code snippet della read su un timerfd
authorSimone Piccardi <piccardi@gnulinux.it>
Mon, 28 Apr 2014 15:06:46 +0000 (15:06 +0000)
committerSimone Piccardi <piccardi@gnulinux.it>
Mon, 28 Apr 2014 15:06:46 +0000 (15:06 +0000)
listati/readtimerfd.c [new file with mode: 0644]

diff --git a/listati/readtimerfd.c b/listati/readtimerfd.c
new file mode 100644 (file)
index 0000000..d8f110b
--- /dev/null
@@ -0,0 +1,3 @@
+    uint64_t nexp;
+    ...
+    read(fd, &nexp, sizeof(uint64_t));