io_dir [function]

io_dir( string dir )

creates a directory iterator for the directory dir, sets errno, returns null and emits a warning on failure