ozone: evdev: Sync caps lock LED state to evdev
[chromium-blink-merge.git] / native_client_sdk / src / libraries / nacl_io / syscalls / remove.c
blob317b9f10dc90df00a86265ef3f40012a5f5be46d
1 /* Copyright (c) 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(__GLIBC__) && defined(__native_client__)
9 // Glibc's remove(3) and unlink(2) entry points are not yet hooked up
10 // to the lower level IRT interfaces. Therefore the only way to intercept
11 // these calls is to override them here.
12 // TODO(sbc): remove this once glibc plumbing is in place for remove/unlink
14 int remove(const char* path) {
15 return ki_remove(path);
17 #endif