fcntl.py

F_GETFD = 0
F_SETFD = 0
FD_CLOEXEC = 0
LOCK_EX = 1
LOCK_UN = 0

def fcntl(fd, op, arg=0):
    return 0
        
def ioctl(fd, op, arg=0, mutable_flag=True):
    if mutable_flag:
        return 0
    else:
        return ""
    
def flock(fd, op):
    return
        
def lockf(fd, operation, length=0, start=0, whence=0):
    return

你可能感兴趣的:(学习记录,python)