shithub: scc

ref: 5537a8378233d7ae3073fd31b68d47758eba7f64
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