git: 9front

ref: 83550d836c6a99d1193da81efb18a6f00a464b57
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);
}