• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: System call for OS version info
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: System call for OS version info


  • Subject: Re: System call for OS version info
  • From: Tony Scaminaci <email@hidden>
  • Date: Sun, 15 Oct 2006 13:34:52 -0500

I already have the kernel info. I'm looking for MacOS X system/build info but thanks anyway.

Tony


On Oct 15, 2006, at 1:04 PM, plumber Idraulico wrote:

http://plumber.gnu-darwin.org/home/

SYSTEM_INFO (1)
Reports operating system information and hardware configuration.

take a look on src

-plum

On Oct 15, 2006, at 6:53 PM, Tony Scaminaci wrote:


Is there a low-level function call for obtaining the same OS info as the unix utility "sw_vers" returns (see below)? I've been browsing the kernel-level sysctl calls but I don't see anything promising. Or would it be better to just do a system invoke of "sw_vers" and parse the arguments for the MacOS version info? Whatever I end up using must work on all 64-bit processors.

$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.4.8
BuildVersion:   8L127


All info is available in the following files: /System/Library/CoreServices/ServerVersion.plist (if it exists) /System/Library/CoreServices/SystemVersion.plist

--
Rui Paulo


_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: System call for OS version info
      • From: plumber Idraulico <email@hidden>
References: 
 >System call for OS version info (From: Tony Scaminaci <email@hidden>)
 >Re: System call for OS version info (From: Rui Paulo <email@hidden>)
 >Re: System call for OS version info (From: plumber Idraulico <email@hidden>)

  • Prev by Date: Re: System call for OS version info
  • Next by Date: Re: System call for OS version info
  • Previous by thread: Re: System call for OS version info
  • Next by thread: Re: System call for OS version info
  • Index(es):
    • Date
    • Thread