This patch adds getdelim(), getline(), stpncpy(), strnlen(), wcsnlen(), wcscasecmp(), and wcsncasecmp() (mixed in with a few other changes that I need to factor out). Comments and reviews would be appreciated. http://www.freebsd.org/~das/str.diff