1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2019 Intel Corporation
9 * This file is required to support the common code in eal_common_log.c
10 * as Microsoft libc does not contain fnmatch.h. This may be removed in
20 * This function is used for searhing a given string source
21 * with the given regular expression pattern.
24 * regular expression notation decribing the pattern to match
27 * source string to searcg for the pattern
30 * containing information about the pattern
33 * if the pattern is found then return 0 or else FNM_NOMATCH
35 static inline int fnmatch(__rte_unused const char *pattern,
36 __rte_unused const char *string,
37 __rte_unused int flags)
40 /* This is a stub, not the expected result */
48 #endif /* _FNMATCH_H_ */