io is a standard Lua5.1 API, reimplemented for CraftOS. Not all the features are available. Refer to http://www.lua.org/manual/5.1/ for more information.