You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
652 B
24 lines
652 B
// 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" {
|
|
#endif
|
|
|
|
// 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
|
|
// "ZX_ERR_TIMED_OUT".
|
|
__EXPORT const char* _zx_status_get_string(zx_status_t status);
|
|
__EXPORT const char* zx_status_get_string(zx_status_t status);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|