Lines Matching refs:O_NONBLOCK
84 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETFL, os.O_NONBLOCK)
86 print('Status from fcntl with O_NONBLOCK: ', rv)
95 rv = fcntl.fcntl(self.f, fcntl.F_SETFL, os.O_NONBLOCK)
97 print('Status from fcntl with O_NONBLOCK: ', rv)
105 fcntl.fcntl(-1, fcntl.F_SETFL, os.O_NONBLOCK)
107 fcntl.fcntl(BadFile(-1), fcntl.F_SETFL, os.O_NONBLOCK)
109 fcntl.fcntl('spam', fcntl.F_SETFL, os.O_NONBLOCK)
111 fcntl.fcntl(BadFile('spam'), fcntl.F_SETFL, os.O_NONBLOCK)
118 fcntl.fcntl(INT_MAX + 1, fcntl.F_SETFL, os.O_NONBLOCK)
120 fcntl.fcntl(BadFile(INT_MAX + 1), fcntl.F_SETFL, os.O_NONBLOCK)
122 fcntl.fcntl(INT_MIN - 1, fcntl.F_SETFL, os.O_NONBLOCK)
124 fcntl.fcntl(BadFile(INT_MIN - 1), fcntl.F_SETFL, os.O_NONBLOCK)