문제

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