Home | History | Annotate | Download | only in python2.7

Lines Matching refs:l_flags

125         l_flags = 0
126 if 'n' in which: l_flags = l_flags | os.O_NDELAY
127 if 'a' in which: l_flags = l_flags | os.O_APPEND
128 if 's' in which: l_flags = l_flags | os.O_SYNC
134 if '!' in which: l_flags = cur_fl & ~ l_flags
135 else: l_flags = cur_fl | l_flags
137 l_flags = fcntl.fcntl(file.fileno(), fcntl.F_SETFL, l_flags)
141 l_flags = fcntl.fcntl(file.fileno(), fcntl.F_SETFD, arg)
145 l_flags = fcntl.fcntl(file.fileno(), fcntl.F_GETFL, 0)
146 if os.O_APPEND & l_flags: which = which + 'a'
149 if os.O_NDELAY & l_flags: which = which + 'n'
150 if os.O_SYNC & l_flags: which = which + 's'