summaryrefslogblamecommitdiffstats
path: root/spec/rtems/support/if/is-name-valid.yml
blob: cbf9435e9effde304e83b54e1f79fa6e0e7e3e6d (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                     
                                     
           
                                                                         


                                                                          
                    


                                       
                                                      
                               


                 
                 




                           
            



                                       


                         

                                


            


                                                               
               
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
  Checks if the object name is valid.
copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
- Copyright (C) 1989, 2008 On-Line Applications Research Corporation (OAR)
definition:
  default:
    attributes: null
    body: |
      return ${.:/params[0]/name} != 0;
    params:
    - ${../../type/if/name:/name} ${.:/params[0]/name}
    return: ${/c/if/bool:/name}
  variants: []
description: null
enabled-by: true
index-entries: []
interface-type: function
links:
- role: interface-placement
  uid: header
- role: interface-ingroup
  uid: group
- role: constraint
  uid: /constraint/directive-ctx-any
- role: constraint
  uid: /constraint/directive-no-preempt
name: rtems_is_name_valid
notes: null
params:
- description: |
    is the object name to check.
  dir: null
  name: name
return:
  return: |
    Returns true, if the object name is valid, otherwise false.
  return-values: []
type: interface