shithub: scc

ref: 0d4f55130681433da88fd5334149c6a60619cec1
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