versionsort64, aio*64 and lio*64 symbols were missing, they are
only needed for glibc ABI compatibility, on the source level
dirent.h and aio.h already redirect them.
#include <aio.h>
#include <pthread.h>
#include <errno.h>
+#include "libc.h"
int aio_cancel(int fd, struct aiocb *cb)
{
}
return cb->__err==EINPROGRESS ? AIO_NOTCANCELED : AIO_ALLDONE;
}
+
+LFS64(aio_cancel);
#include <aio.h>
+#include "libc.h"
int aio_error(const struct aiocb *cb)
{
return cb->__err;
}
+
+LFS64(aio_error);
#include <aio.h>
#include <errno.h>
+#include "libc.h"
int aio_fsync(int op, struct aiocb *cb)
{
errno = EINVAL;
return -1;
}
+
+LFS64(aio_fsync);
cb->aio_lio_opcode = LIO_WRITE;
return new_req(cb);
}
+
+LFS64(aio_read);
+LFS64(aio_write);
#include <aio.h>
+#include "libc.h"
ssize_t aio_return(struct aiocb *cb)
{
return cb->__ret;
}
+
+LFS64(aio_return);
#include <aio.h>
#include <errno.h>
#include "pthread_impl.h"
+#include "libc.h"
/* Due to the requirement that aio_suspend be async-signal-safe, we cannot
* use any locks, wait queues, etc. that would make it more efficient. The
}
}
}
+
+LFS64(aio_suspend);
return 0;
}
+LFS64(lio_listio);
#define _GNU_SOURCE
#include <string.h>
#include <dirent.h>
+#include "libc.h"
int versionsort(const struct dirent **a, const struct dirent **b)
{
return strverscmp((*a)->d_name, (*b)->d_name);
}
+
+#undef versionsort64
+LFS64(versionsort);