execv函数调用后当前程序会发生什么?

What happens to the current program after execv function call?

假设在我的程序中的某个时刻,我成功地使用了 execv 和函数 运行。现在我的程序已经改变了。它究竟是怎么回事? (所有内存都会自动清空吗?)

execve() does not return on success, and the text, data, bss, and stack of the calling process are overwritten by that of the program loaded.

也就是说,当前进程的所有数据都会消失,新的程序被加载到内存中,取代原来的进程。