Mercurial > hg > nginx-site
comparison xml/en/docs/sys_errlist.xml @ 0:61e04fc01027
Initial import of the nginx.org website.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 11 Aug 2011 12:19:13 +0000 |
parents | |
children | 9d544687d02c |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:61e04fc01027 |
---|---|
1 <!DOCTYPE digest SYSTEM "../../../dtd/article.dtd"> | |
2 | |
3 <article title="A message “ ‘sys_errlist’ | |
4 is deprecated; | |
5 use ‘strerror’ or ‘strerror_r’ | |
6 instead ”" | |
7 link="/en/docs/sys_errlist.html" | |
8 lang="en"> | |
9 | |
10 | |
11 <section> | |
12 | |
13 <para> | |
14 While building nginx version 0.7.66, 0.8.35 or higher on Linux | |
15 the following warning messages are issued: | |
16 | |
17 <programlisting> | |
18 warning: `sys_errlist' is deprecated; | |
19 use `strerror' or `strerror_r' instead | |
20 warning: `sys_nerr' is deprecated; | |
21 use `strerror' or `strerror_r' instead | |
22 </programlisting> | |
23 | |
24 This is normal: nginx has to use the deprecated sys_errlist[] and sys_nerr | |
25 in signal handlers because strerror() and strerror_r() functions | |
26 are not Async-Signal-Safe. | |
27 </para> | |
28 | |
29 </section> | |
30 | |
31 </article> |