mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
Update.
* rt/aio_fsync.c: Likewise.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/* Asynchronous read.
|
||||
Copyright (C) 1997 Free Software Foundation, Inc.
|
||||
Copyright (C) 1997, 1999 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
|
||||
|
||||
@@ -27,5 +27,6 @@ int
|
||||
aio_read (aiocbp)
|
||||
struct aiocb *aiocbp;
|
||||
{
|
||||
return __aio_enqueue_request ((aiocb_union *) aiocbp, LIO_READ) != NULL;
|
||||
return (__aio_enqueue_request ((aiocb_union *) aiocbp, LIO_READ) == NULL
|
||||
? -1 : 0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user