The standard library of the D programming language
Find a file
Jeremy 04c6590ab8 Add errnoMsg property to ErrnoException
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
2023-12-03 09:21:28 +13:00
.circleci circleci: Migrate to circleci convenience images 2022-10-16 23:39:53 +02:00
.github/workflows GHA: Adapt to recent dmd CI changes 2023-11-23 19:32:24 +02:00
changelog Merge remote-tracking branch 'upstream/stable' into merge_stable 2023-12-02 13:57:02 +00:00
etc/c Undo ODBC deprecation and enable usage on non-Windows systems. (#8804) 2023-08-31 14:26:34 +01:00
std Add errnoMsg property to ErrnoException 2023-12-03 09:21:28 +13:00
test Add sumtype to Phobos (#7702) 2021-03-05 12:41:34 +01:00
tools Missing two tables & some clarrifications (Real author is Richard Cattermole, name changed while rebasing) 2023-01-14 17:07:05 +02:00
.codecov.yml yaml: make files comply with YAML specification 2021-08-30 14:54:57 +00:00
.dscanner.ini Use isQualifierConvertible in isInputRange!(R, E) 2023-10-31 11:38:10 +01:00
.editorconfig Fix line endings in .editorconfig 2018-09-16 12:19:04 -07:00
.gitignore Add initial dub.sdl with stdx-allocator and stdx-checkedint 2018-06-22 16:56:20 +02:00
azure-pipelines.yml Make win32.mak compatible with MODEL=32omf 2022-01-25 17:20:51 +01:00
CODEOWNERS Upstream Unicode table generator and update tables to v15 2022-12-12 02:10:14 +13:00
CONTRIBUTING.md update issue link to issues.dlang.org 2016-05-17 09:40:29 +03:00
dub.sdl Move checkedint out of experimental (#8100) 2022-01-25 00:17:24 +00:00
index.dd Remove deprecated std.xml module 2022-08-28 11:30:15 +02:00
LICENSE_1_0.txt
posix.mak Fix upcoming D-Scanner argument warnings (#8753) 2023-05-30 09:42:02 +03:00
project.ddoc add PROJECT=phobos ddoc macro 2014-01-10 19:16:53 +01:00
README.md Remove no longer available issue stats and add a Buildkite badge 2019-01-04 18:02:28 +01:00
unittest.d Remove deprecated symbols from std.digest.digest 2020-04-09 11:35:23 +02:00
win32.mak Makefile: stub out all auto-tester-build and auto-tester-test recipes 2023-01-02 17:34:07 +01:00
win64.mak Makefile: stub out all auto-tester-build and auto-tester-test recipes 2023-01-02 17:34:07 +01:00

D Logo Phobos Standard Library

GitHub tag Bugzilla Issues CircleCi Buildkite Code coverage license

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.