These are chat archives for rust-lang/rust

3rd
Feb 2019
Ryan
@rnleach
Feb 03 19:21
I'm using bindgen for the first time, and it generated a bunch of bindings for libc functions like fopen, is there a way to have it skip those?
Denis Lisov
@tanriol
Feb 03 19:57
Do the functions you need have some pattern in their names, like a common prefix?
Ryan
@rnleach
Feb 03 20:03
No, it's just standard libc stuff like fopen, fclose
When I try to use the functions from rust, I always get a null pointer back, I can't open the files to use with the rest of the c-ffi. But if I run the sample c-code it works great.