blob: b04e7cef3903deb3c53f2c4f9f241d19f9dcad81 [file] [log] [blame]
Elliott Hughes13da6002025-02-03 10:42:13 -08001// Copyright (C) 2017 The Android Open Source Project
2// SPDX-License-Identifier: BSD-2-Clause
Elliott Hughes21b56eb2017-10-20 17:57:17 -07003
4#include <strings.h>
5
6#include "header_checks.h"
7
8static void strings_h() {
9 FUNCTION(ffs, int (*f)(int));
Elliott Hughes4a6899c2020-03-25 10:34:46 -070010#if !defined(__GLIBC__)
11 FUNCTION(ffsl, int (*f)(long));
12 FUNCTION(ffsll, int (*f)(long long));
13#endif
Elliott Hughes21b56eb2017-10-20 17:57:17 -070014 FUNCTION(strcasecmp, int (*f)(const char*, const char*));
15 FUNCTION(strcasecmp_l, int (*f)(const char*, const char*, locale_t));
16 FUNCTION(strncasecmp, int (*f)(const char*, const char*, size_t));
17 FUNCTION(strncasecmp_l, int (*f)(const char*, const char*, size_t, locale_t));
18
19 TYPE(locale_t);
20 TYPE(size_t);
21}