{{newin|[[0.9.0]]|090|type=function}}
Gets the current operating system. In general, LÖVE abstracts away the need to know the current operating system, but there are a few cases where it can be useful (especially in combination with [http://www.lua.org/manual/5.1/manual.html#pdf-os.execute os.execute].)

== Function ==
=== Synopsis ===
<source lang="lua">
osString = love.system.getOS( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|string|osString|The current operating system. <code>"OS X"</code>, <code>"Windows"</code>, <code>"Linux"</code>, <code>"Android"</code> or <code>"iOS"</code>.}}

== Notes ==
In LÖVE version [[0.8.0]], the '''love._os''' string contains the current operating system.

== See Also ==
* [[parent::love.system]]
[[Category:Functions]]
{{#set:Description=Gets the current operating system.}}
== Other Languages ==
{{i18n|love.system.getOS}}