git: 9front

ref: 0ef319a787e4b99e4824f3f02e07548c8a98aff0
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);
}