from qmsk.net.py cimport * cdef int raise_errno (char *func) except -1 : PyErr_SetFromErrno(PyExc_OSError) return -1