git: 9front

ref: ccef7a8bdca9d58397ab9ebe6af7ccf29edd6dad
dir: /sys/src/libc/port/utfutf.c/

View raw version
#include <u.h>
#include <libc.h>

/*
 * Return pointer to first occurrence of s2 in s1,
 * 0 if none
 */
char*
utfutf(char *s1, char *s2)
{
	return strstr(s1, s2);
}