]>
git.ipfire.org Git - thirdparty/squid.git/blob - compat/xstrerror.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_XSTRERROR_H
10 #define SQUID_COMPAT_XSTRERROR_H
16 /** Provide the textual display of a system error number.
17 * A string is always returned.
18 * Where strerror() would have provided nullptr this will report the error as unknown.
19 * On MS Windows the native Win32 errors are also translated.
21 extern const char * xstrerr(int error
);
23 #endif /* SQUID_COMPAT_XSTRERROR_H */