Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export fd_set in libc or libnative #16297

Closed
VShell opened this issue Aug 6, 2014 · 1 comment
Closed

Export fd_set in libc or libnative #16297

VShell opened this issue Aug 6, 2014 · 1 comment

Comments

@VShell
Copy link

VShell commented Aug 6, 2014

At present, fd_set is defined as libnative::io::c::fd_set, on both Windows and Linux. However, I can't use this, as it's not made "pub mod c" in mod.rs.

I'm writing a binding from a C network-related library (libircclient) to Rust, and would like fd_set to be available without having to duplicate effort.

@steveklabnik
Copy link
Member

Lots of stuff has changed here, and we now have

src/libstd/sys/unix/c.rs:    pub struct fd_set {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants