Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
来自 APUE,open()有一个标志选项
open()
O_EXEC 打开仅用于执行。
但是,我只看到execve()在我看到的示例中使用。
execve()
那么什么时候open()用O_EXEC呢?这有什么不同和相关execve()?
O_EXEC