Arun Sharma writes:
 > Single UNIX spec doesn't include the above sysconf(3) argument, but 
 > many UNIX variants do. What's the BSD way of doing this ? 

How about the hw.ncpu sysctl?

Drew

------------------------------------------------------------------------------
Andrew Gallatin, Sr Systems Programmer  http://www.cs.duke.edu/~gallatin
Duke University                         Email: [EMAIL PROTECTED]
Department of Computer Science          Phone: (919) 660-6590

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to