summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/req/dequalify-0.yml
blob: 75e2dd693481762e888d8b8386823e2c14b9a7d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
SPDX-License-Identifier: CC-BY-SA-4.0
copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
enabled-by: true
functional-type: function
links:
- role: interface-function
  uid: ../if/dequalify
rationale: null
references: []
requirement-type: functional
text: |
  When ${../if/dequalify:/params[0]/name} is a non-const non-volatile
  pointer type,
  and ${../if/dequalify:/params[1]/name} is a pointer to a value of
  const volatile type,
  and the types of ${../if/dequalify:/params[0]/name} and
  ${../if/dequalify:/params[1]/name} are compatible in the sense of C,
  the macro ${../if/dequalify:/name} shall result in an expression
  which returns a pointer of type ${../if/dequalify:/params[0]/name} pointing
  to the same address as ${../if/dequalify:/params[1]/name}.
type: requirement