comparison src/os/unix/ngx_aio_read.c @ 298:4a3f18406832

nginx-0.0.3-2004-03-30-10:27:36 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 30 Mar 2004 06:27:36 +0000
parents 0ba4821f4460
children da8c5707af39
comparison
equal deleted inserted replaced
297:ee394e997c77 298:4a3f18406832
15 * the non-ready data requires 4 (kqueue) or 5 syscalls: 15 * the non-ready data requires 4 (kqueue) or 5 syscalls:
16 * aio_write(), aio_error(), notifiction, aio_error(), aio_return() 16 * aio_write(), aio_error(), notifiction, aio_error(), aio_return()
17 * timeout, aio_cancel(), aio_error() 17 * timeout, aio_cancel(), aio_error()
18 */ 18 */
19 19
20 ssize_t ngx_aio_read(ngx_connection_t *c, char *buf, size_t size) 20 ssize_t ngx_aio_read(ngx_connection_t *c, u_char *buf, size_t size)
21 { 21 {
22 int n; 22 int n;
23 ngx_event_t *rev; 23 ngx_event_t *rev;
24 24
25 rev = c->read; 25 rev = c->read;