#include <limits.h>
#include <stddef.h>
#include <sched.h>
#include <bits/pthreadtypes.h>
#include "internaltypes.h"

--

VALUE		offsetof (struct new_sem, value)
PRIVATE		offsetof (struct new_sem, private)
NWAITERS	offsetof (struct new_sem, nwaiters)
SEM_VALUE_MAX	SEM_VALUE_MAX