restype Assign a ctypes type to specify the result type of the foreign function. Use None for void
os.devnull The file path of the null device. For example: '/dev/null' for POSIX, 'nul' for Windows
os.sched_getscheduler(pid) Return the scheduling policy for the process with PID pid. A pid of 0 means the
peek([size]) Return bytes from the stream without advancing the position. At most one single read on the raw stream is done
os.pread(fd, buffersize, offset) Read from a file descriptor, fd, at a position of offset. It will read up
os.WIFSTOPPED(status) Return True if the process has been stopped, otherwise return False.
class ctypes.c_wchar_p Represents the C wchar_t * datatype, which must be a pointer to a zero-terminated wide character
curses.unctrl(ch) Return a string which is a printable representation of the character ch. Control characters are displayed
ctypes.get_errno() Returns the current value of the ctypes-private copy of the system
class ctypes.py_object Represents the C PyObject * datatype. Calling this without an argument creates a NULL
Page 37 of 67