File Descriptor API

API Reference

The File Descriptor (FD) service is intended as a helper to access file system resources.

Available API

It offers the following file operations:

  • open a resource with le_fd_Open(),
  • close a resource with le_fd_Close(),
  • read from a resource with le_fd_Read(),
  • write to a resource with le_fd_Write(),
  • manage I/O with le_fd_Ioctl(),
  • duplicate a file descriptor with le_fd_Dup(),
  • create a FIFO with le_fd_MkFifo(),
  • manipulate a file descriptor with le_fd_Fcntl().