1*5225e6b1SAndroid Build Coastguard Worker /* 2*5225e6b1SAndroid Build Coastguard Worker * Copyright (C) 2023 The Android Open Source Project 3*5225e6b1SAndroid Build Coastguard Worker * 4*5225e6b1SAndroid Build Coastguard Worker * Licensed under the Apache License, Version 2.0 (the "License"); 5*5225e6b1SAndroid Build Coastguard Worker * you may not use this file except in compliance with the License. 6*5225e6b1SAndroid Build Coastguard Worker * You may obtain a copy of the License at 7*5225e6b1SAndroid Build Coastguard Worker * 8*5225e6b1SAndroid Build Coastguard Worker * http://www.apache.org/licenses/LICENSE-2.0 9*5225e6b1SAndroid Build Coastguard Worker * 10*5225e6b1SAndroid Build Coastguard Worker * Unless required by applicable law or agreed to in writing, software 11*5225e6b1SAndroid Build Coastguard Worker * distributed under the License is distributed on an "AS IS" BASIS, 12*5225e6b1SAndroid Build Coastguard Worker * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*5225e6b1SAndroid Build Coastguard Worker * See the License for the specific language governing permissions and 14*5225e6b1SAndroid Build Coastguard Worker * limitations under the License. 15*5225e6b1SAndroid Build Coastguard Worker */ 16*5225e6b1SAndroid Build Coastguard Worker 17*5225e6b1SAndroid Build Coastguard Worker #ifndef __STDLIB_STRING_H__ 18*5225e6b1SAndroid Build Coastguard Worker #define __STDLIB_STRING_H__ 19*5225e6b1SAndroid Build Coastguard Worker 20*5225e6b1SAndroid Build Coastguard Worker #include <stddef.h> 21*5225e6b1SAndroid Build Coastguard Worker 22*5225e6b1SAndroid Build Coastguard Worker size_t strlen(const char *str); 23*5225e6b1SAndroid Build Coastguard Worker void *memchr(const void *ptr, int ch, size_t count); 24*5225e6b1SAndroid Build Coastguard Worker char *strrchr(const char *str, int c); 25*5225e6b1SAndroid Build Coastguard Worker char *strchr(const char *str, int c); 26*5225e6b1SAndroid Build Coastguard Worker size_t strnlen(const char *s, size_t maxlen); 27*5225e6b1SAndroid Build Coastguard Worker int strcmp(const char *s1, const char *s2); 28*5225e6b1SAndroid Build Coastguard Worker int strncmp(const char *s1, const char *s2, size_t n); 29*5225e6b1SAndroid Build Coastguard Worker unsigned long int strtoul(const char *s, char **endptr, int base); 30*5225e6b1SAndroid Build Coastguard Worker 31*5225e6b1SAndroid Build Coastguard Worker #endif 32