MCPcopy Index your code
hub / github.com/RT-Thread/rt-thread / lwp_args_init

Function lwp_args_init

components/lwp/lwp_args.c:284–287  ·  view source on GitHub ↗

* @brief Initialize a light-weight process arguments info structure * * @param[in,out] ai Pointer to the arguments info structure to initialize * * @return rt_err_t * - RT_EOK on successful initialization * - -RT_ENOMEM if memory allocation fails * * @see args_init */

Source from the content-addressed store, hash-verified

282 * @see args_init
283 */
284rt_err_t lwp_args_init(struct lwp_args_info *ai)
285{
286 return args_init(ai, STR_BUF_DEFAULT_SIZE);
287}
288
289/**
290 * @brief Detach a light-weight process arguments info structure

Callers 2

argscopyFunction · 0.85
sys_execveFunction · 0.85

Calls 1

args_initFunction · 0.85

Tested by

no test coverage detected