summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/req/array-size-0.yml
blob: 620e1ddf903a2c9f588a83a8b13edbbdc7835d0a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
SPDX-License-Identifier: CC-BY-SA-4.0
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true
functional-type: function
links:
- role: interface-function
  uid: ../if/array-size
rationale: null
references: []
requirement-type: functional
text: |
  When the argument ${../if/alloc-size:/params[0]/name} evaluates to an
  value of a C one-dimensional array type,
  and the evaluation of that argument has no side effects,
  the macro ${../if/array-size:/name} shall result in the number of elements
  with which that array has been defined.
type: requirement