shithub: scc

ref: 232f814cbdfd8ab842db3419844f1988cbf8d367
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