blob: 9ae4b55a8b1e5683022b04f6b9c9771beb26455d [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build android
package v23
import "syscall"
// #include "jni.h"
import "C"
//export Java_io_v_v23_android_RedirectStderr_nativeStart
func Java_io_v_v23_android_RedirectStderr_nativeStart(env *C.JNIEnv, jRuntime C.jclass, fileno C.jint) {
syscall.Dup2(int(fileno), syscall.Stderr)
}