Kaynağa Gözat

Add os.subhost

PucklaMotzer09 4 yıl önce
ebeveyn
işleme
1d3ea84246
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  1. 5 0
      manual/builtin_modules.md

+ 5 - 0
manual/builtin_modules.md

@@ -637,6 +637,7 @@ This module is also a native module of lua, and xmake has been extended to provi
 | [os.host](#oshost) | Get Current Host System | >= 2.0.1 |
 | [os.ln](#osln) | Link file or directory to the new symfile | >= 2.2.2 |
 | [os.raise](#osraise) | Raise an exception and abort the current script | >= 2.2.8 |
+| [os.subhost](#ossubhost) | Get Subsystem host, e.g. msys, cygwin on windows | >= 2.3.1 |
 
 #### os.cp
 
@@ -1048,6 +1049,10 @@ os.ln("xxx.txt", "xxx.txt.ln")
 os.raise("an error occurred")
 ```
 
+### os.subhost
+
+- Get subsystem host, e.g. msys, cygwin on windows
+
 ### winos
 
 The windows system operation module is a built-in module, no need to use [import](#import) to import, you can directly call its interface in the script domain.