View gist:d3a34dfe095b92d035f9
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals
from select import select
from cffi import FFI
ffi = FFI()
ffi.cdef("""
#define CLOCK_REALTIME ...