So I think I understand how strncpy() works now.
Switch over the string actions in perform_edit()
Okay, just use asserts and hope for the best.