소스 검색

fix prototypes for aio_read and aio_write

Rich Felker 13 년 전
부모
커밋
fd408d27a0
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      include/aio.h

+ 2 - 2
include/aio.h

@@ -41,8 +41,8 @@ struct aiocb {
 #define LIO_WAIT 0
 #define LIO_NOWAIT 1
 
-int aio_read(struct aiocb *);
-int aio_write(struct aiocb *);
+ssize_t aio_read(struct aiocb *);
+ssize_t aio_write(struct aiocb *);
 int aio_error(struct aiocb *);
 ssize_t aio_return(struct aiocb *);
 int aio_cancel(int, struct aiocb *);