ページの改善
いますぐフォークしてオンライン編集し、このページのプルリクエストを送信します。 Github へのログインが必要です。 これは小さな変更に適しています。 大きな変更を加えたい場合は、通常の cloneの使用をお勧めします。
日本語版について
個人的な学習のために、dlang.orgを翻訳したサイトです。 翻訳に際して、様々なサイトを参考にしています。

std.system

Information about the target operating system, environment, and CPU.
enum OS: int;
Operating system.

Note This is for cases where you need a value representing the OS at runtime. If you're doing something which should compile differently on different OSes, then please use version (Windows), version (linux), etc.

win32
Microsoft 32 bit Windows systems
win64
Microsoft 64 bit Windows systems
linux
All Linux Systems, except for Android
osx
Mac OS X
iOS
iOS
tvOS
tvOS
watchOS
watchOS
freeBSD
FreeBSD
netBSD
NetBSD
openBSD
OpenBSD
dragonFlyBSD
DragonFlyBSD
solaris
Solaris
android
Android
otherPosix
Other Posix Systems
unknown
Unknown
immutable OS os;
The OS that the program was compiled for.
enum Endian: int;
Byte order endianness.

Note This is intended for cases where you need to deal with endianness at runtime. If you're doing something which should compile differently depending on whether you're compiling on a big endian or little endian machine, then please use version (BigEndian) and version (LittleEndian).

bigEndian
Big endian byte order
littleEndian
Little endian byte order
immutable Endian endian;
The endianness that the program was compiled for.