Open a file

The mi_file_open() function is the constructor function for a file descriptor. Through the file descriptor, you access an operating-system file.

This section provides the following information about how to open a file:
  • How to specify the file name, including its path
  • How to specify the open flags and open mode, which the underlying operating-system call supports
  • How UDRs can share open files