MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / lwp_args_detach

Function lwp_args_detach

components/lwp/lwp_args.c:294–299  ·  view source on GitHub ↗

* @brief Detach a light-weight process arguments info structure * * @param[in,out] ai Pointer to the arguments info structure to detach */

Source from the content-addressed store, hash-verified

292 * @param[in,out] ai Pointer to the arguments info structure to detach
293 */
294void lwp_args_detach(struct lwp_args_info *ai)
295{
296 _strvec_detach(&ai->argv);
297 _strvec_detach(&ai->envp);
298 rt_free(ai->str_buf);
299}
300
301#ifdef ARCH_MM_MMU
302/**

Callers 3

lwp_args_load_scriptFunction · 0.85
argscopyFunction · 0.85
sys_execveFunction · 0.85

Calls 2

_strvec_detachFunction · 0.85
rt_freeFunction · 0.85

Tested by

no test coverage detected