git: 9front

ref: 87ec4550f392180df2ccd3fc48b3ca91f3bcd09c
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);
}