D man pages

Jarek jsiebert at poczta.wp.pl
Mon Sep 23 06:06:05 UTC 2019


On Saturday, 5 January 2019 at 21:59:27 UTC, kdevel wrote:
> For years I missed the man pages of the C++ standard library 
> and now found out that some Linux distros provide them as extra 
> package. The man pages are not generated by a default during a 
> GCC bootstrap install but need an explicit make doc-install-man 
> in the corresponding doc directory of libstdc++.
>
> Is there any such mechanism to generate man pages for D/Phobos?
>
> Stefan

Hello,
I have the same question. Where to find something similar to man 
pages from C?
I would like to use core.sys.posix.dirent and don't know where to 
find manuals about it.
Reading dirent.h or man opendir is a lot easier than reading 
dirent.d from
/usr/lib64/gcc/x86_64-slackware-linux/9.2.0/include/d/core/sys/posix
If I read dirent.d, then I see something like:
else version (CRuntime_Bionic)
{
}
else version (CRuntime_Musl)
{
}
else version (CRuntime_UClibc)
{
     void   seekdir(DIR*, c_long);
     c_long telldir(DIR*);
}
else
{
     static assert(false, "Unsupported platform");
}
does it mean that I can't use seekdir() on systems with Musl? 
(Alpine linux)?



More information about the Digitalmars-d-learn mailing list