Welcome to The Fiwix Project
Your small UNIX-like kernel
1 /* 2 * fiwix/include/fiwix/stddef.h 3 * 4 * Copyright 2022, Jordi Sanfeliu. All rights reserved. 5 * Distributed under the terms of the Fiwix License. 6 */ 7 8 #ifndef _INCLUDE_STDDEF_H 9 #define _INCLUDE_STDDEF_H 10 11 #define offsetof(st, m) ((__size_t)&(((st *)0)->m)) 12 13 #endif /* _INCLUDE_STDDEF_H */