Question

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?

Was it helpful?

Solution

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.

. . . . . . . ..

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top