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>
|
* Copyright (c) 2011 Jared D. McNeill <jmcneill@invisible.ca>
|
||||||
@ -112,6 +112,7 @@ int thunk_sigblock(int);
|
|||||||
int thunk_sigunblock(int);
|
int thunk_sigunblock(int);
|
||||||
int thunk_sigemptyset(sigset_t *sa_mask);
|
int thunk_sigemptyset(sigset_t *sa_mask);
|
||||||
void thunk_sigaddset(sigset_t *sa_mask, int sig);
|
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_atexit(void (*function)(void));
|
||||||
|
|
||||||
int thunk_aio_read(struct aiocb *);
|
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>
|
* Copyright (c) 2011 Jared D. McNeill <jmcneill@invisible.ca>
|
||||||
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
#ifdef __NetBSD__
|
#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
|
#endif
|
||||||
|
|
||||||
#include <sys/types.h>
|
#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
|
int
|
||||||
thunk_atexit(void (*function)(void))
|
thunk_atexit(void (*function)(void))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user