git: 9front

ref: 661c14037cfc65a1fcd828faedcb40f6ea0d6a5b
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);
}