Files
mop3/kernel/libk/fieldlengthof.h
kamkow1 f07e920270
All checks were successful
Build documentation / build-and-deploy (push) Successful in 55s
Minimal device system, implement terminal device and libterminal
2026-02-12 15:49:04 +01:00

9 lines
209 B
C

#ifndef _KERNEL_LIBK_FIELDLENGTHOF_H
#define _KERNEL_LIBK_FIELDLENGTHOF_H
#include <libk/lengthof.h>
#define fieldlengthof(type, field) (lengthof (((type*)0)->field))
#endif // _KERNEL_LIBK_FIELDLENGTHOF_H