• Home
  • Raw
  • Download

Lines Matching full:libc

1 # libc - Raw FFI bindings to platforms' system libraries
5 `libc` provides all of the definitions necessary to easily interoperate with C
11 the crate root, so all items are accessible as `libc::foo`. The types and values
12 of all the exported APIs match the platform that libc is compiled for.
17 [rfc]: https://github.com/rust-lang/rfcs/blob/master/text/1291-promote-libc.md
25 libc = "0.2"
30 * `std`: by default `libc` links to the standard library. Disable this
31 feature to remove this dependency and be able to use `libc` in `#![no_std]`
34 * `extra_traits`: all `struct`s implemented in `libc` are `Copy` and `Clone`.
46 (libc does not currently have any policy regarding changes to the minimum
66 [`ci/build.sh`](https://github.com/rust-lang/libc/blob/master/ci/build.sh)
67 for the platforms on which `libc` is guaranteed to build for each Rust
69 platforms in which `libc` tests are run.
78 ([LICENSE-APACHE](https://github.com/rust-lang/libc/blob/master/LICENSE-APACHE))
81 ([LICENSE-MIT](https://github.com/rust-lang/libc/blob/master/LICENSE-MIT))
90 [contributing instructions]: https://github.com/rust-lang/libc/blob/master/CONTRIBUTING.md
98 for inclusion in `libc` by you, as defined in the Apache-2.0 license, shall be
101 [GitHub Actions]: https://github.com/rust-lang/libc/actions
102 [GHA Status]: https://github.com/rust-lang/libc/workflows/CI/badge.svg
103 [Cirrus CI]: https://cirrus-ci.com/github/rust-lang/libc
104 [Cirrus CI Status]: https://api.cirrus-ci.com/github/rust-lang/libc.svg
105 [crates.io]: https://crates.io/crates/libc
106 [Latest Version]: https://img.shields.io/crates/v/libc.svg
107 [Documentation]: https://docs.rs/libc/badge.svg
108 [docs.rs]: https://docs.rs/libc
109 [License]: https://img.shields.io/crates/l/libc.svg
110 [docs.master]: https://rust-lang.github.io/libc/#platform-specific-documentation