patches for FTBFS on GNU/kFreeBSD
Robert Millan
rmh at aybabtu.com
Wed Oct 26 13:48:29 UTC 2005
On Tue, Oct 25, 2005 at 09:50:31PM +0200, Petr Salinger wrote:
>
> Look at surrounding lines:
>
> do {
> err = aio_suspend((const aiocb_t **) &((*request)->handle), 1, 0);
> } while ((err == -1) && (errno == EINTR));
>
> if (err != -1) {
> err = aio_return((struct aiocb *) (*request)->handle);
> (*request)->nbytes = err;
> errno = aio_error((struct aiocb *) (*request)->handle);
> }
>
> Consult man pages for aio_suspend, aio_return, aio_error:
>
> int aio_suspend(const struct aiocb * const cblist[],
> int n, const struct timespec *timeout);
> ssize_t aio_return(struct aiocb *aiocbp);
> int aio_error(const struct aiocb *aiocbp);
>
> CONFORMING TO
> POSIX 1003.1-2003
>
> Therefore "typedef struct aiocb aiocb_t" is not garanteed by POSIX.
Ah, right.
--
Robert Millan
More information about the Glibc-bsd-devel
mailing list