def get_creation_time(path):
    buf = struct_stat64()
    rv = stat64(path, pointer(buf))
    if rv != 0:
        raise OSError("Couldn't stat file %r" % path)
    return buf.st_birthtimespec.tv_sec
dataset/ETHPy150Open koenbok/Cactus/cactus/listener/mac.py/get_creation_time/original