blob: d7c1b37a00d4428eba3859dab463a6f95ca0674a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
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 & Co. KG
definition:
default:
attributes: null
body: ''
params: []
return: null
variants:
- definition:
attributes: null
body: |
__attribute__(( __format__( __printf__, ${.:/params[0]/name}, ${.:/params[1]/name} ) ))
params: []
return: null
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: null
type: interface
|