ogham / rust-users

Library for Unix users and groups in Rust.
https://crates.io/crates/users
MIT License
98 stars 37 forks source link

Use definitions from libc rather than custom ones #24

Closed Arcterus closed 6 years ago

Arcterus commented 6 years ago

I believe this mostly addresses #20, although a couple functions are not present in libc for BSD systems, so I just kept the manually specified declarations.

ogham commented 6 years ago

Yes, this was exactly what I was looking for! Thank you. I’m not sure why those functions aren’t in BSD libc, but it’s better to leave the declarations in than take the features out.

Released as v0.7.0