Hi! > aiocb is allocated via malloc(), which does not clear the memory. > aio_write() may fail with EINVAL if aio_reqprio is not properly > initialized. The manual pages suggests to zero the whole structure before use either by using calloc() or with memset(), can we do that instead please? -- Cyril Hrubis chrubis@suse.cz