strerror.c
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
3  *
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.
7  */
8 
9 #include "squid.h"
10 
11 #if HAVE_ERRNO_H
12 #include <errno.h>
13 #endif
14 
15 extern int sys_nerr;
16 
17 #if NEED_SYS_ERRLIST
18 extern char *sys_errlist[];
19 #endif
20 
21 char *
22 strerror(int ern)
23 {
24  return sys_errlist[ern];
25 }
26 
char * strerror(int ern)
Definition: strerror.c:22
int sys_nerr

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors