Virtual filesystem and ramdiskfs
All checks were successful
Build documentation / build-and-deploy (push) Successful in 27s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 27s
This commit is contained in:
6
kernel/libk/fieldsizeof.h
Normal file
6
kernel/libk/fieldsizeof.h
Normal file
@@ -0,0 +1,6 @@
|
||||
#ifndef _KERNEL_LIBK_FIELDSIZEOF_H
|
||||
#define _KERNEL_LIBK_FIELDSIZEOF_H
|
||||
|
||||
#define fieldsizeof(type, field) (sizeof (((type*)0)->field))
|
||||
|
||||
#endif // _KERNEL_LIBK_FIELDSIZEOF_H
|
||||
Reference in New Issue
Block a user