pollunlock
if (pollunlock(&lockstate) != 0) {
extern int pollunlock(int *);
if (pollunlock(&state) != 0) {