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

I need wait and waitpid in posix88::unistd #11

Closed
ashleysommer opened this issue May 17, 2015 · 0 comments
Closed

I need wait and waitpid in posix88::unistd #11

ashleysommer opened this issue May 17, 2015 · 0 comments

Comments

@ashleysommer
Copy link

Just wondering if you can update this lib to rust @ commit a5cac55be451a32a5956339009c49ac4fcaaef5c, this introduces definitions for wait() and waitpid() into libstd::funcs::posix88::unistd that I need for a project I am working on.

Thanks.

dlrobertson pushed a commit to dlrobertson/libc that referenced this issue Oct 31, 2017
gnzlbg pushed a commit to gnzlbg/libc that referenced this issue Feb 24, 2019
11: Re-export core::ffi::c_void r=japaric a=jeikabu

japaric/cty#10

Without this trying to use bindgen like:
```rust
let bindings = bindgen::Builder::default()
        .header("wrapper.h")
        .ctypes_prefix("cty")
        .use_core()
        .generate();
```

Results in lots of:
```
error[E0308]: mismatched types
  --> runng/src/protocol/mod.rs:49:43
   |
49 |         let res = nng_setopt(socket, opt, topic_ptr, topic_size);
   |                                           ^^^^^^^^^ expected enum `cty::c_void`, found enum `std::ffi::c_void`
   |
   = note: expected type `*const cty::c_void`
              found type `*const std::ffi::c_void`
```


Co-authored-by: jake <jeikabu@gmail.com>
bors pushed a commit that referenced this issue Sep 18, 2019
Sync with rust-lang/libc branch master
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

1 participant