Finished C text functions