blob: 39d3a4b10775bccfe225a7321aca81e2b326bdf4 [file] [log] [blame]
// Copyright 2016 The Fuchsia 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 fuchsia
// Package mxruntime provides access to FDIO process state.
package mxruntime
// TODO: move process handle globals from mx into mxruntime.
import "syscall/zx"
type HandleType uint16
const (
HandleUser0 HandleType = 0xF0
HandleUser1 HandleType = 0xF1
HandleUser2 HandleType = 0xF2
)
type HandleInfo struct {
Type HandleType
Arg uint16
}
func GetStartupHandle(info HandleInfo) zx.Handle {
return getStartupHandle(info)
}