comparison src/os/unix/ngx_errno.h @ 4725:47936d1c98e9 stable-1.2

Merge of r4682, r4694, r4699, r4704, r4705: minor nits. *) Fixed spelling of "endianness", and called it "byte ordering" in the user visible part. *) Fixed return type of ngx_strerror_init(). *) Fixed a harmless error in spelling of "Connection: close" when computing the response header length. *) Style. *) Added code to look up Google perftools in /opt/local/, for MacPorts.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 02 Jul 2012 16:51:02 +0000
parents 25611746fee7
children e8bca8397625
comparison
equal deleted inserted replaced
4724:0141b4aec0e4 4725:47936d1c98e9
67 #define ngx_set_errno(err) errno = err 67 #define ngx_set_errno(err) errno = err
68 #define ngx_set_socket_errno(err) errno = err 68 #define ngx_set_socket_errno(err) errno = err
69 69
70 70
71 u_char *ngx_strerror(ngx_err_t err, u_char *errstr, size_t size); 71 u_char *ngx_strerror(ngx_err_t err, u_char *errstr, size_t size);
72 ngx_uint_t ngx_strerror_init(void); 72 ngx_int_t ngx_strerror_init(void);
73 73
74 74
75 #endif /* _NGX_ERRNO_H_INCLUDED_ */ 75 #endif /* _NGX_ERRNO_H_INCLUDED_ */