|
From: | Laurent Vivier |
Subject: | Re: [Qemu-devel] [5486] Define O_DSYNC as O_SYNC if necessary. |
Date: | Tue, 14 Oct 2008 20:21:00 +0200 |
Le 14 oct. 08 à 20:12, Robert Riebisch a écrit :
Anthony Liguori wrote:Define O_DSYNC as O_SYNC if necessary....+/* OS X does not have O_DSYNC */ +#ifndef O_DSYNC +#define O_SYNC +#endif +Not "+#define O_DSYNC O_SYNC"?
OS X does not have O_SYNC too... You can use fcntl() with F_NOCACHE to emulate O_DIRECT, I think. BSD is not POSIX ;-) Regards, Laurent ----------------------- Laurent Vivier ---------------------- "The best way to predict the future is to invent it." - Alan Kay
[Prev in Thread] | Current Thread | [Next in Thread] |