filename travis Build status crate docs dependency status

Get filename from a raw file descriptor

Usage

To use filename in your project, add the following to your Cargo.toml:

toml [dependencies] filename = "0.1"

Example

```rust use filename::file_name;

let f = tempfile::tempfile().unwrap();

println!("tempfile @ {:?}", file_name(f).unwrap()); ```