]>
git.ipfire.org Git - thirdparty/squid.git/blob - compat/strnrchr.h
2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
9 #ifndef SQUID_COMPAT_STRNRCHR_H
10 #define SQUID_COMPAT_STRNRCHR_H
17 * look for the last occurrence of a character in a c-string.
19 * Scanning starts at the beginning of the c-string, and ends
20 * after count bytes or at the end of the c-string, whichever happens first
22 SQUIDCEXTERN
const char *strnrchr(const char *s
, size_t count
, int c
);
24 #endif /* SQUID_COMPAT_STRNRCHR_H */