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

StackOverflow https://stackoverflow.com/questions/14028441

  •  12-12-2021
  •  | 
  •  

سؤال

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