Skip to content

Commit

Permalink
core: Update libc docs to clarify usage
Browse files Browse the repository at this point in the history
  • Loading branch information
brson committed Apr 1, 2013
1 parent 8e9fd72 commit 37634f3
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/libcore/libc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,19 @@
// except according to those terms.

/*!
* Bindings for libc.
* Bindings for the C standard library and other platform libraries
*
* This module contains bindings to the C standard library,
* organized into modules by their defining standard.
* Additionally, it contains some assorted platform-specific definitions.
* For convenience, most functions and types are reexported from `core::libc`,
* so `pub use core::libc::*` will import the available
* C bindings as appropriate for the target platform. The exact
* set of functions available are platform specific.
*
* *Note* Rustdoc does not indicate reexports currently. Also, because these
* definitions are platform-specific, some may not
* appear in the generated documentation.
*
* We consider the following specs reasonably normative with respect
* to interoperating with the C standard library (libc/msvcrt):
Expand Down

0 comments on commit 37634f3

Please sign in to comment.