# Module std::os::raw 1.1.0[−][src]

Platform-specific types, as defined by C.

Code that interacts via FFI will almost certainly be using the base types provided by C, which aren't nearly as nicely defined as Rust's primitive types. This module provides types which will match those defined by C, so that code that interacts with C will refer to the correct types.

## Enums

c_void | Equivalent to C's `void` type when used as a pointer.

## Type Definitions

c_char | Equivalent to C's `char` type.
c_double | Equivalent to C's `double` type.
c_float | Equivalent to C's `float` type.
c_int | Equivalent to C's `signed int` (`int`) type.
c_long | Equivalent to C's `signed long` (`long`) type.
c_longlong | Equivalent to C's `signed long long` (`long long`) type.
c_schar | Equivalent to C's `signed char` type.
c_short | Equivalent to C's `signed short` (`short`) type.
c_uchar | Equivalent to C's `unsigned char` type.
c_uint | Equivalent to C's `unsigned int` type.
c_ulong | Equivalent to C's `unsigned long` type.
c_ulonglong | Equivalent to C's `unsigned long long` type.
c_ushort | Equivalent to C's `unsigned short` type.

# 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`)