blob: 798d2b0e488d5f97c3ca0715104b8f83c321e91f [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.
#pragma once
#include <zircon/types.h>
#ifdef __cplusplus
extern "C" {
// Given one of the status codes defined in <zircon/errors.h> (ZX_ERR_* or
// ZX_OK), this function returns an identifier string for the status code.
// For example, zx_status_get_string(ZX_ERR_TIMED_OUT) returns the string
__EXPORT const char* _zx_status_get_string(zx_status_t status);
__EXPORT const char* zx_status_get_string(zx_status_t status);
#ifdef __cplusplus