summaryrefslogtreecommitdiffstats
path: root/spec/rtems/io/if/printk-printer.yml
blob: 0d5203f72bdc9287a3818afbb0e413cfae64a125 (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
  Outputs the characters defined by the format string and the variable argument
  list to the kernel character output device.
copyrights:
- Copyright (C) 2021 embedded brains GmbH & Co. KG
definition:
  default:
    attributes: null
    body: null
    params:
    - void *${.:/params[0]/name}
    - const char *${.:/params[1]/name}
    - ${/c/if/va_list:/name} ${.:/params[2]/name}
    return: int
  variants: []
description: null
enabled-by: true
index-entries: []
interface-type: function
links:
- role: interface-placement
  uid: header-3
- role: interface-ingroup
  uid: group-3
- role: constraint
  uid: /constraint/directive-not-pre-qualified
- role: constraint
  uid: /constraint/directive-ctx-any
- role: constraint
  uid: /constraint/directive-no-preempt
- role: constraint
  uid: ../constraint/no-floating-point
name: rtems_printk_printer
notes: |
  The directive may be used to print debug and test information.  It uses
  ${putc:/name} to output the characters.  This directive performs a character
  translation from ``NL`` to ``CR`` followed by ``NR``.

  If the kernel character output device is concurrently accessed, then
  interleaved output may occur.
params:
- description: |
    is an unused argument.
  dir: null
  name: unused
- description: |
    is a printf()-style format string.
  dir: null
  name: fmt
- description: |
    is the variable argument list required by the format string.
  dir: null
  name: ap
return:
  return: |
    Returns the number of characters output to the kernel character output
    device.
  return-values: []
type: interface