shithub: scc

ref: 0c6b04d3013c4dd19b64803c89e20ace6517d38b
dir: /lib/c/include/stddef.h/

View raw version
#ifndef _STDDEF_H
#define _STDDEF_H

#include <arch/stddef.h>

#ifndef NULL
#define NULL ((void *) 0)
#endif

#define offsetof(st, m) ((size_t)&(((st *)0)->m))

#endif