Passed
Push — master ( 37fa88...c1bba9 )
by Guangyu
07:34 queued 13s
created

fcntl.fcntl()   A

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 2
rs 10
c 0
b 0
f 0
cc 1
nop 3
1
def fcntl(fd, op, arg=0):
2
    return 0
3
4
5
def ioctl(fd, op, arg=0, mutable_flag=True):
6
    if mutable_flag:
7
        return 0
8
    else:
9
        return ""
10
11
12
def flock(fd, op):
13
    return
14
15
16
def lockf(fd, operation, length=0, start=0, whence=0):
17
    return
18