summaryrefslogtreecommitdiff
path: root/lib/libc_r/uthread/uthread_sigaltstack.c
blob: fff62da3be215e565a77f4fa2eb2de1264c039e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*	$OpenBSD: uthread_sigaltstack.c,v 1.2 1999/11/25 07:01:44 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 */