summaryrefslogtreecommitdiffstats
path: root/spec/if/rtems/basedefs/return-address.yml
blob: 5f141c68de616dd1155ff6b70cc74d95f4c15bc8 (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
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
  Returns the return address of the current function.
copyrights:
- Copyright (C) 2019 embedded brains GmbH (http://www.embedded-brains.de)
definition:
  default: ${/if/c/null:/name}
  variants:
  - definition: |
      ${/if/compiler/builtin-return-address:/name}(0)
    enabled-by:
    - defined(${/if/compiler/gnuc:/name})
description: null
enabled-by: true
interface-type: macro
links:
- role: interface-placement
  uid: header
- role: interface-ingroup
  uid: group
name: RTEMS_RETURN_ADDRESS
notes: null
params: []
return:
  return: The return address of the current function.
  return-values: []
type: interface