You can use uname(3) (on sone other system it is listed as uname(2)) - that is 
the most classic UNIX way of telling a system from another.

On Oct 25, 2013, at 11:49, Gerriet M. Denkmann <[email protected]> wrote:

> The documentation tells me that NSProcessInfo operatingSystemVersionString 
> "is human readable, localized, and is appropriate for displaying to the user. 
> This string is not appropriate for parsing."
> 
> Ok. So what do I use for parsing?
> 
> like: if ( current_os_x_version < 10.9 ) then do something...
> 
> Once there was Gestalt, but this is deprecated since 10.8.
> 
> Gerriet.
> 
> 
> _______________________________________________
> 
> Cocoa-dev mailing list ([email protected])
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/cocoa-dev/xcvista%40me.com
> 
> This email sent to [email protected]

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to