* @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 */
| 555 | * - Other errors from args_append() if memory allocation fails |
| 556 | */ |
| 557 | rt_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 |
no test coverage detected