Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / native_client_sdk / src / libraries / nacl_io / syscalls / signal.c
blobc131e28f32f6c4561caceb506751e6ec23259fec
1 /* Copyright 2013 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */
5 #include "nacl_io/kernel_intercept.h"
6 #include "nacl_io/kernel_wrap.h"
8 #if !defined(__BIONIC__)
10 sighandler_t signal(int signum, sighandler_t handler) {
11 return ki_signal(signum, handler);
14 #else
16 sighandler_t sysv_signal(int signum, sighandler_t handler)
18 return ki_signal(signum, handler);
22 sighandler_t bsd_signal(int signum, sighandler_t handler) {
23 return ki_signal(signum, handler);
26 #endif /* #if !defined(__BIONIC_) */