在c ++ for create_process哪个头文件需要? [英] in a c++ for create_process which header file require?
本文介绍了在c ++ for create_process哪个头文件需要?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在用于create_process的c ++中哪个头文件需要?
in a c++ for create_process which header file require?
推荐答案
这取决于使用的函数。使用Linux类型man function_name打开函数的手册页,其中列出了所需的头文件。
使用fork
和exec
头文件是 unistd.h 和posix_spawn
它将是 spawn.h 。
This depends on the used functions. With Linux type "man function_name" to open the function's manual page which states the required header files on top.
Withfork
andexec
the header file would be unistd.h and withposix_spawn
it would be spawn.h.
这篇关于在c ++ for create_process哪个头文件需要?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文