mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 06:30:28 +03:00
The standard library of the D programming language
algorithmsallocatorconcurrencycontainersddlangfunctionalhacktoberfestmathmetaparallelismphobosrangesregexstandard-librarystdiotraitstype-conversionunicode
![]() This is used, for example, when you'd want to get a raw error message from the errno number given by the underlying system call/C function, instead of using the msg property, which includes extra (often irrelevant) error information given by the called Phobos function. Previously you would have to use something like this: strerror(e.errno).fromStringz() Example: > catch (ErrnoException e) writeln(e.msg); Cannot open file `filename' in mode `r' (No such file or directory) > catch (ErrnoException e) writeln(e.errnoMsg); No such file or directory |
||
---|---|---|
.circleci | ||
.github/workflows | ||
changelog | ||
etc/c | ||
std | ||
test | ||
tools | ||
.codecov.yml | ||
.dscanner.ini | ||
.editorconfig | ||
.gitignore | ||
azure-pipelines.yml | ||
CODEOWNERS | ||
CONTRIBUTING.md | ||
dub.sdl | ||
index.dd | ||
LICENSE_1_0.txt | ||
posix.mak | ||
project.ddoc | ||
README.md | ||
unittest.d | ||
win32.mak | ||
win64.mak |
Phobos Standard Library
Phobos is the standard library that comes with the D Programming Language Compiler.
Download
Phobos is packaged together with the compiler. You should download the whole precompiled package.
To build everything yourself, there is a description in the wiki.
Phobos is distributed under Boost Software Licence. See the licence file.
I Want to Contribute
Great! See the CONTRIBUTING.md file.