Contents

readOnly

Opens the file for reading only.

Declaration

static var readOnly: FileDescriptor.AccessMode { get }

Mentioned in

Discussion

The corresponding C constant is O_RDONLY.

See Also

Creating an Access Mode