Add thunk_sigprocmask()
This commit is contained in:
parent
5b805c1914
commit
ba6f3f2e03
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: thunk.h,v 1.34 2011/09/15 12:23:51 reinoud Exp $ */
|
||||
/* $NetBSD: thunk.h,v 1.35 2011/11/27 21:23:46 reinoud Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2011 Jared D. McNeill <jmcneill@invisible.ca>
|
||||
@ -112,6 +112,7 @@ int thunk_sigblock(int);
|
||||
int thunk_sigunblock(int);
|
||||
int thunk_sigemptyset(sigset_t *sa_mask);
|
||||
void thunk_sigaddset(sigset_t *sa_mask, int sig);
|
||||
int thunk_sigprocmask(int how, const sigset_t * set, sigset_t *oset);
|
||||
int thunk_atexit(void (*function)(void));
|
||||
|
||||
int thunk_aio_read(struct aiocb *);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: thunk.c,v 1.39 2011/09/15 20:25:23 reinoud Exp $ */
|
||||
/* $NetBSD: thunk.c,v 1.40 2011/11/27 21:23:47 reinoud Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2011 Jared D. McNeill <jmcneill@invisible.ca>
|
||||
@ -28,7 +28,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#ifdef __NetBSD__
|
||||
__RCSID("$NetBSD: thunk.c,v 1.39 2011/09/15 20:25:23 reinoud Exp $");
|
||||
__RCSID("$NetBSD: thunk.c,v 1.40 2011/11/27 21:23:47 reinoud Exp $");
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
@ -448,6 +448,12 @@ thunk_sigaddset(sigset_t *sa_mask, int sig)
|
||||
}
|
||||
}
|
||||
|
||||
int
|
||||
thunk_sigprocmask(int how, const sigset_t * set, sigset_t *oset)
|
||||
{
|
||||
return sigprocmask(how, set, oset);
|
||||
}
|
||||
|
||||
int
|
||||
thunk_atexit(void (*function)(void))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user