Why does rust libc use repr(packed) for struct?

前端 未结 0 667
我在风中等你
我在风中等你 2021-01-30 18:35

Rust libc use repr(packed) as shown here for struct which will be then passed to system libc. For example, utsname is repr(packed) and then used in fn

相关标签:
回答
  • 消灭零回复
提交回复
热议问题