commit | a962506498d3930bea4e34bc21d261613065f98f | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Fri Aug 28 08:12:35 2009 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Fri Aug 28 08:12:35 2009 +0000 |
tree | f401951eaab82203accb72c8b2205b9d91f7ee07 | |
parent | 1163af9fae396700700824cca21309476cf5dd51 [diff] [blame] |
FreeBSD and Linux AIO support
diff --git a/src/os/unix/ngx_files.h b/src/os/unix/ngx_files.h index 5395acd..993ce8f 100644 --- a/src/os/unix/ngx_files.h +++ b/src/os/unix/ngx_files.h
@@ -287,4 +287,12 @@ #define ngx_set_stderr_n "dup2(STDERR_FILENO)" +#if (NGX_HAVE_FILE_AIO) + +ssize_t ngx_file_aio_read(ngx_file_t *file, u_char *buf, size_t size, + off_t offset, ngx_pool_t *pool); + +#endif + + #endif /* _NGX_FILES_H_INCLUDED_ */