Mono.Posix.OpenFlags Enumeration
Mode with which the file will attempt to be opened.

Syntax

[System.CLSCompliant(false)]
[System.Flags]
[System.Obsolete("Use Mono.Unix.Native.OpenFlags")]
public enum OpenFlags

See Also

Mono.Unix.Native.OpenFlags

Remarks

Do 'man 2 open' for more information.

This type is obsolete. Please use Mono.Unix.Native.OpenFlags instead.

Members

Member NameDescription
O_APPENDOpen for appending
O_CREATCreate
O_EXCLOpen exclusive
O_NOCTTYNo controlling terminal
O_NONBLOCKOpen in non-blocking mode if possible
O_RDONLYRead-only
O_RDWRRead-Write
O_SYNCOpen for synchronous I/O
O_TRUNCTruncate on opening if necessary.
O_WRONLYWrite-only

Requirements

Namespace: Mono.Posix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0