What POSIX system call can be used instead of forkall() on Solaris 10?

It is possible to use forkall on Solaris 10, but how I can determine OS and OS version in preprocessor?

有帮助吗?

解决方案

Forall is not a POSIX system call. Its only available to solaris. It does not have any alternavite in POSIX. You should try to write portable code.

. . . . . . . ..

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top