26 lines
432 B
Markdown
26 lines
432 B
Markdown
libc
|
|
====
|
|
|
|
A Rust library with native bindings to the types and functions commonly found on
|
|
various systems, including libc.
|
|
|
|
[![Build Status](https://travis-ci.org/rust-lang/libc.svg?branch=master)](https://travis-ci.org/rust-lang/libc)
|
|
|
|
[Documentation](http://doc.rust-lang.org/libc)
|
|
|
|
## Usage
|
|
|
|
Add this to your `Cargo.toml`:
|
|
|
|
```toml
|
|
[dependencies]
|
|
|
|
libc = "0.1"
|
|
```
|
|
|
|
and this to your crate root:
|
|
|
|
```rust
|
|
extern crate libc;
|
|
```
|