Upstream version 11.40.271.0
[platform/framework/web/crosswalk.git] / src / native_client / src / untrusted / nacl / stubs / sigaction.c
1 /*
2  * Copyright 2014 The Native Client Authors. All rights reserved.
3  * Use of this source code is governed by a BSD-style license that can be
4  * found in the LICENSE file.
5  */
6
7 /*
8  * Stub routine for `sigaction' for porting support.
9  */
10
11 #include <errno.h>
12 #include <signal.h>
13
14 int sigaction(int signum, const struct sigaction *act,
15               struct sigaction *oldact) {
16   errno = ENOSYS;
17   return -1;
18 }