# [−] [src] Module cortex_m_semihosting::nr::open

Values for the mode parameter of the OPEN syscall.

## Constants

R | Mode corresponding to fopen "r" mode.
RW | Mode corresponding to fopen "r+" mode.
RW_APPEND | Mode corresponding to fopen "a+" mode.
RW_APPEND_BINARY | Mode corresponding to fopen "a+b" mode.
RW_BINARY | Mode corresponding to fopen "r+b" mode.
RW_TRUNC | Mode corresponding to fopen "w+" mode.
RW_TRUNC_BINARY | Mode corresponding to fopen "w+b" mode.
R_BINARY | Mode corresponding to fopen "rb" mode.
W_APPEND | Mode corresponding to fopen "a" mode.
W_APPEND_BINARY | Mode corresponding to fopen "ab" mode.
W_TRUNC | Mode corresponding to fopen "w" mode.
W_TRUNC_BINARY | Mode corresponding to fopen "wb" mode.

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)

Search multiple things at once by splitting your query with comma (e.g. `str,u8` or `String,struct:Vec,test`)