mirror of
git://git.musl-libc.org/musl
synced 2025-01-30 18:41:43 +00:00
stupid typo (caused by rather ugly spelling in POSIX..) in aio
This commit is contained in:
parent
067bdc2c18
commit
f0a8d60d32
@ -17,7 +17,7 @@ extern "C" {
|
|||||||
#include <bits/alltypes.h>
|
#include <bits/alltypes.h>
|
||||||
|
|
||||||
struct aiocb {
|
struct aiocb {
|
||||||
int aio_filedes, aio_lio_opcode, aio_reqprio;
|
int aio_fildes, aio_lio_opcode, aio_reqprio;
|
||||||
volatile void *aio_buf;
|
volatile void *aio_buf;
|
||||||
size_t aio_nbytes;
|
size_t aio_nbytes;
|
||||||
struct sigevent aio_sigevent;
|
struct sigevent aio_sigevent;
|
||||||
|
@ -23,7 +23,7 @@ static void notify_signal(struct sigevent *sev)
|
|||||||
static void *io_thread(void *p)
|
static void *io_thread(void *p)
|
||||||
{
|
{
|
||||||
struct aiocb *cb = p;
|
struct aiocb *cb = p;
|
||||||
int fd = cb->aio_filedes;
|
int fd = cb->aio_fildes;
|
||||||
void *buf = (void *)cb->aio_buf;
|
void *buf = (void *)cb->aio_buf;
|
||||||
size_t len = cb->aio_nbytes;
|
size_t len = cb->aio_nbytes;
|
||||||
off_t off = cb->aio_offset;
|
off_t off = cb->aio_offset;
|
||||||
|
Loading…
Reference in New Issue
Block a user