It's literally "for writing" or "in order to write", but in most cases, it simply translates directly to "to write".