zero-width bit field 問題探討 II
前言
日前正在旁聽黃敬群教授(jserv)在成大的 Linux 核心設計課程,第1周有關於 bit field 的教材。其中提到一個例子(程式來源):
struct foo {
int a : 3;
int b : 2;
int : 0; /* Force alignment to next boundary */
int c : 4;
Are you sure to leave this team?
Once you delete your team, all team notes will be deleted and cannot be recovered. Please ensure you've exported or transfered these notes.
Enter team name before deleting it:
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up