Sketch out a posix version of the iterator