RTEMS
6.3
Toggle main menu visibility
Loading...
Searching...
No Matches
cpukit
include
rtems
bspcmdline.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-2-Clause */
2
16
17
/*
18
* COPYRIGHT (c) 1989-2009.
19
* On-Line Applications Research Corporation (OAR).
20
*
21
* Redistribution and use in source and binary forms, with or without
22
* modification, are permitted provided that the following conditions
23
* are met:
24
* 1. Redistributions of source code must retain the above copyright
25
* notice, this list of conditions and the following disclaimer.
26
* 2. Redistributions in binary form must reproduce the above copyright
27
* notice, this list of conditions and the following disclaimer in the
28
* documentation and/or other materials provided with the distribution.
29
*
30
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
31
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
32
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
33
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
34
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
35
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
36
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
37
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
38
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
39
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
40
* POSSIBILITY OF SUCH DAMAGE.
41
*/
42
43
#ifndef __BSP_COMMAND_LINE_h
44
#define __BSP_COMMAND_LINE_h
45
56
57
#include <stddef.h>
/* for size_t */
58
59
#ifdef __cplusplus
60
extern
"C"
{
61
#endif
62
63
73
const
char
*
rtems_bsp_cmdline_get
(
void
);
74
93
const
char
*
rtems_bsp_cmdline_get_param
(
94
const
char
*name,
95
char
*value,
96
size_t
length
97
);
98
99
118
const
char
*
rtems_bsp_cmdline_get_param_rhs
(
119
const
char
*name,
120
char
*value,
121
size_t
length
122
);
123
142
const
char
*
rtems_bsp_cmdline_get_param_raw
(
143
const
char
*name
144
);
145
146
#ifdef __cplusplus
147
}
148
#endif
149
151
#endif
rtems_bsp_cmdline_get
const char * rtems_bsp_cmdline_get(void)
Obtain Pointer to BSP Boot Command String.
Definition
bspcmdline_get.c:45
rtems_bsp_cmdline_get_param
const char * rtems_bsp_cmdline_get_param(const char *name, char *value, size_t length)
Obtain COPY of the Entire Matching Argument.
Definition
bspcmdline_getparam.c:65
rtems_bsp_cmdline_get_param_raw
const char * rtems_bsp_cmdline_get_param_raw(const char *name)
Obtain Pointer to the Entire Matching Argument.
Definition
bspcmdline_getparamraw.c:47
rtems_bsp_cmdline_get_param_rhs
const char * rtems_bsp_cmdline_get_param_rhs(const char *name, char *value, size_t length)
Obtain COPY of the Right Hand Side of the Matching Argument.
Definition
bspcmdline_getparamrhs.c:45
Generated by
1.18.0