D man pages

Daniel Kozak kozzi11 at gmail.com
Thu Oct 10 19:19:42 UTC 2019


On Thursday, 10 October 2019 at 18:52:32 UTC, Jarek wrote:
> On Monday, 23 September 2019 at 12:31:16 UTC, Adam D. Ruppe 
> wrote:
>> [...]
>
> Hello,
> thanks for reply.
> This is my first dlang work:
> import std.stdio;
> import std.conv;
> import core.sys.posix.dirent;
>
> [...]

You should use fromStringZ: 
https://dlang.org/phobos/std_string.html#.fromStringz


More information about the Digitalmars-d-learn mailing list