]>
git.ipfire.org Git - thirdparty/squid.git/blob - compat/strnrchr.h
2 * Copyright (C) 1996-2019 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 COMPAT_STRNRCHR_H_
10 #define 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 /* COMPAT_STRNRCHR_H_ */