summaryrefslogtreecommitdiff
path: root/lib/libc_r/uthread/uthread_sigaltstack.c
blob: 9a1f96145422ce6cc3a3e9db1b61f783edeac3d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * $OpenBSD: uthread_sigaltstack.c,v 1.1 1998/11/09 03:13:20 d Exp $
 */

#include <signal.h>
#include <errno.h>
#ifdef _THREAD_SAFE
#include <pthread.h>
#include "pthread_private.h"

/*
 * placeholder for sigaltstack XXX impl to be done
 */

int
sigaltstack(const struct sigaltstack *ss, struct sigaltstack *oss)
{
	errno = EINVAL;
	return (-1);
}
#endif /* _THREAD_SAFE */