Synopsis

int ugn_Open(const char * path, int oflag, ...)

Purpose

This is same as UNIX open() except this only utilizes UTF-8 strings.

Description

This is same as C open() except is required to be a UTF-8 string. Warning: Conversion only occurs on Windows. For other platforms, parameters are simply passed to open.

Input

file_name

UTF8 string file name to be opened

oflag

Flags that are passed on to open.

mode

Mode flags passed on to open. Must be an int.

Return

      File descriptor
      .fi