Add terminal write operation and strlen, memmove