what is the difference between libc::c_char and std::os::raw::c_char
and which one is better to use ?
There is no difference (read the doc )
Equivalent to Cās
char
type.
Btw. please edit your title and replace ;
by :
, thanks
1 Like
I recommend using std::os::raw::*
, because this way you avoid adding libc
dependency.
1 Like