site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On 28 Jul 2005, at 16:54, Terry Lambert wrote: On Jul 28, 2005, at 9:28 AM, Jerry Cottingham wrote: On Jul 28, 2005, at 8:57 AM, Ran Atkinson wrote: I have some existing UNIX-based (i.e. not Carbon/Cocoa) software that uses the POSIX Asynchronous I/O interfaces. These seem not to be present in Darwin (MacOS X 10.4), at least if unistd.h is to be believed. async io is there in Tiger. look at: bsd/sys/aio.h bsd/kern/kern_aio.c In particular, we don't support the O_DSYNC argument to aio_fsync(). -- Terry Thank you. That is very helpful. In the long term, it would be helpful to application developers if the header file (sys/aio.h) had a comment or two indicating which parts of the POSIX spec are not yet complied with. That way an application programmer would have a good chance of figuring out whether an application needed rework to compile under MacOS X or whether it would be OK as is (e.g. because O_DSYNC) were not used by the application). Just for information, I did file this as a bug, though maybe it is a "documentation issue" rather than an actual software bug given what I just learned from you. The bug ID is 4196956. Thanks again, Ran rja@inet.org _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... POSIX requires that _POSIX_ASYNCHRONOUS_IO be defined to 200112L in <unistd.h> *ONLY* if you fully support all aspects of the API features for that option group. The MacOS X implementation supports all important aspects of the [AIO] feature group, but not all possible aspects. This email sent to site_archiver@lists.apple.com