summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/if/return-address.yml
blob: 1c59e9be2e20cd197a5d23a60f19444812848797 (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
33
34
35
36
37
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
  Gets the return address of the current function.
copyrights:
- Copyright (C) 2019 embedded brains GmbH & Co. KG
definition:
  default:
    attributes: null
    body: ${/c/if/null:/name}
    params: []
    return: null
  variants:
  - definition:
      attributes: null
      body: |
        ${/compiler/if/builtin-return-address:/name}( 0 )
      params: []
      return: null
    enabled-by:
    - defined(${/compiler/if/gnuc:/name})
description: null
enabled-by: true
index-entries: []
interface-type: macro
links:
- role: interface-placement
  uid: header
- role: interface-ingroup
  uid: group
name: RTEMS_RETURN_ADDRESS
notes: null
params: []
return:
  return: |
    Returns the return address of the current function.
  return-values: []
type: interface