From: Fabio Giovagnini Date: Thu, 01 Apr 2010 16:15:11 +0000 Subject: O_DIRECT not found. Message-Id: <201004011815.12072.fabio.giovagnini@aurion-tech.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-sh@vger.kernel.org #include #include #include /* Standard input/output definitions */ #include /* String function definitions */ #include /* UNIX standard function definitions */ #include /* File control definitions */ #include /* Error number definitions */ #include . . . rs485TxEn_fd = open("/proc/mlcdports/rs485txen",O_WRONLY | O_NDELAY | O_DIRECT); . . . Why I cannot find the flag O_DIRECT Thanks a lot -- Fabio Giovagnini Aurion s.r.l. P.I e C.F. 00885711200 Tel. +39.051.594.78.24 Cell. +39.335.83.50.919