Crate c_ffi[−][src]
Expand description
Collection of utilities to work with C stuff
Re-exports
pub use args::Args; |
Modules
args | C style arguments wrapper |
env | Environment variables |
locale | Locale module |
memory | Memory related utilities |
process | Process sub-module |
Macros
c_lit | Creates C compatible string that ends with null character |
c_main | Declares main function with C like signature, passing CLI arugments via |
system | Creates command with |
Functions
c_str_to_rust⚠ | Converts C string to Rust’s, verifying it is UTF-8 |
c_str_to_rust_unchecked⚠ | Converts C string to Rust’s one assuming it is UTF-8 |
getenv⚠ | |
malloc⚠ | |
strlen⚠ | |
system⚠ |
Type Definitions
int | Alias to C’s |