Greg, is it safe to use k5buf for strings that may contain nulls? If so, is cstr really the right name for the function to get a char *?