1 /* Copyright (C) 2014 Trend Micro Inc.
4 * This program is a free software; you can redistribute it
5 * and/or modify it under the terms of the GNU General Public
6 * License (version 2) as published by the FSF - Free Software
11 #include "os_regex_internal.h"
13 int OS_StrStartsWith(const char *str, const char *pattern) {
16 if(*pattern++ != *str++)