summaryrefslogblamecommitdiffstats
path: root/spec/rtems/basedefs/req/array-size-0.yml
blob: 0328d457c580c77817f5e205e2f7fbf253ca9a59 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                     
                                                  
                
                         
      
                          
                       

               
                            






                                                                            
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/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