Please add a blank line after the end brace.  Also, is there any reason the strncpy() is wrapped?  It fits well within the 80 char line limit.