blob: a573edc70f369d3e0dff1ef5fd4f1580fbce268c (
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
|
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
Augments the resource number so that it indicates an unlimited resource.
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
definition:
default:
attributes: null
body: ( ( ${.:/params[0]/name} ) | ${unlimited-objects:/name} )
params: []
return: ${/c/if/uint32_t:/name}
variants: []
description: null
enabled-by: true
index-entries: []
interface-type: macro
links:
- role: interface-placement
uid: header
- role: interface-ingroup
uid: group
- role: constraint
uid: /constraint/directive-not-pre-qualified
name: rtems_resource_unlimited
notes: |
This function is implemented as a macro and can be used to define compile
time constants.
params:
- description: is the resource number to augment.
dir: null
name: _resource
return:
return: |
Returns the resource number augmented to indicate an unlimited resource.
return-values: []
type: interface
|