summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/if/return-address.yml
blob: 4a5994c2af0b60bc7f2210fdaa4cf77a67f64a5b (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
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 (http://www.embedded-brains.de)
definition:
  default: ${/c/if/null:/name}
  variants:
  - definition: |
      ${/compiler/if/builtin-return-address:/name}(0)
    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