Replace functions name puts and gets to putstr and getstr