shithub: scc

ref: eba17d80d42e07d4eb9176c66d1bbb3ee39e8d81
dir: /libc/include/stddef.h/

View raw version
/* See LICENSE file for copyright and license details. */
#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