Converts the managed (System.IO.FileModeSystem.IO.FileAccess) pair into a string suitable for use with Stdlib.fopen's mode parameter..
- mode
- Specifies how to open the file
- access
- Specifies what can be done to the file.
The morally equivalent file mode.
This is primarily useful if you're trying to make a Unix-specific API look like a CLI API, such as with Mono.Unix.StdioFileStream.
Namespace: Mono.Unix.Native
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0