C 能保证sizeof(long) == sizeof(void*)吗?如果不是,为什么它在 Linux 内核源代码中使用得如此广泛?
sizeof(long) == sizeof(void*)
我看了sizeof(int)==sizeof(void*)?但那是关于sizeof(int)vs 的sizeof(void *)。
sizeof(int)
sizeof(void *)
c linux-kernel
c ×1
linux-kernel ×1