summaryrefslogtreecommitdiffstats
path: root/spec/rtems/status/if/text.yml
blob: 1839add1e7c41c348826e1abf70bd88d3bad7a2b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: Returns a text describing the specified status code.
copyrights:
- Copyright (C) 2014, 2020 embedded brains GmbH (http://www.embedded-brains.de)
definition:
  default:
    body: null
    params:
    - ${code:/name} ${.:/params[0]/name}
    return: const char *
  variants: []
description: |
  The text for each status code is the enumerator constant.
enabled-by: true
interface-type: function
links:
- role: interface-placement
  uid: header
- role: interface-ingroup
  uid: group
name: rtems_status_text
notes: null
params:
- description: is the status code.
  dir: null
  name: status_code
return:
  return: Otherwise, a text describing the status code.
  return-values:
  - description: The specified status code is invalid.
    value: '"?"'
type: interface