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

Function lwp_args_put_argv

components/lwp/lwp_args.c:557–560  ·  view source on GitHub ↗

* @brief Put command line arguments into LWP arguments info structure * * @param[in,out] args Pointer to the lwp_args_info structure to store the arguments * @param[in] argv_uaddr Pointer to the string array (argv) to be processed * * @return rt_err_t * - RT_EOK on success * - -EFAULT if user-space string access fails * - Other errors from args_append() if memory allocation fails */

Source from the content-addressed store, hash-verified

555 * - Other errors from args_append() if memory allocation fails
556 */
557rt_err_t lwp_args_put_argv(struct lwp_args_info *args, const char **argv_uaddr)
558{
559 return lwp_args_put(args, argv_uaddr, LWP_ARGS_TYPE_ARG);
560}
561
562/**
563 * @brief Put environment variables into LWP arguments info structure

Callers 1

sys_execveFunction · 0.85

Calls 1

lwp_args_putFunction · 0.85

Tested by

no test coverage detected