Does RTEMS POSIX open function support O_DIRECT option ?

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Jun 4 10:45:45 UTC 2019


On 04/06/2019 12:18, JunBeom Kim wrote:
>
> Dear Sir,
>
> I need O_DIRECT option for calling open() function for handling file I/O.
>
> As I check from posix-users.pdf document, there is not O_DIRECT option 
> for calling open() function.
>
> There is supporting options from RTEMS POSIX document in below;
>
> -O_RDONLY, O_WRONLY, O_RDWR
>
> -O_APPEND, O_CREAT, O_EXCL, O_NOCTTY, O_NONBLOCK, O_TRUNC
>
> If O_DIRECT option is not supported by RTEMS, I should find 
> alternative method.
>

The O_DIRECT is defined in the header file, however, not implemented in 
any RTEMS file system.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the users mailing list