Instance Method インスタンスメソッド

operatingSystem()

Returns a constant to indicate the operating system on which the process is executing. それの上でプロセスが遂行しているオペレーティングシステムを指し示している定数を返します。

Declaration 宣言

func operatingSystem() -> Int

Return Value 戻り値

Operating system identifier. See Constants for a list of possible values. In macOS, it’s NSMACHOperatingSystem. オペレーティングシステム識別子。Constantsを可能な値の一覧として見てください。macOSでは、それはNSMACHOperatingSystemです。

See Also 参照

Getting Host Information ホスト情報を得る