def nextOpenDescriptor():
    descriptor = os.open("/dev/null", os.O_RDONLY)
    os.close(descriptor)
    return descriptor
Gets the number of the next available file descriptor.
dataset/ETHPy150Open benedictpaten/jobTree/src/jobTreeSlave.py/nextOpenDescriptor