shithub: scc

ref: f497555405330a595da88af8b145fa26d70d694e
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