summaryrefslogblamecommitdiffstats
path: root/spec/rtems/basedefs/if/printflike.yml
blob: 03db80b71766179a37b21a393ffb16324f7fd682 (plain) (tree)
1
2
3
4
5
6
7
8
                                                     
        

                                                                              


                                                                         
             



                                                                   
                                         

                 
                 




                           
            


                      








                                                                          
       

                   
               
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
  Tells the compiler in a declaration that this function expects printf()-like
  arguments.
copyrights:
- Copyright (C) 2016 embedded brains GmbH (http://www.embedded-brains.de)
definition:
  default: ''
  variants:
  - definition: |
      __attribute__((__format__(__printf__, _format_pos, _ap_pos)))
    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_PRINTFLIKE
notes: null
params:
- description: |
    is the position of the format parameter index (starting with one).
  dir: null
  name: _format_pos
- description: |
    is the position of the argument pointer parameter index (starting with
    one).
  dir: null
  name: _ap_pos
return:
  return: null
  return-values: []
type: interface