blob: 99ef43a19af4fdbbace7c28802cf25eb017e1026 [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(jenv *C.JNIEnv, jRuntime C.jclass, fileno C.jint) {
syscall.Dup2(int(fileno), syscall.Stderr)
}