SUL for Posix

Jacob Carlborg doob at me.com
Thu Apr 5 06:51:07 PDT 2012


On 2012-04-05 12:55, Stewart Gordon wrote:
> On 05/04/2012 07:18, Jacob Carlborg wrote:
> <snip>
>> Ok, I see. The functions that need a Posix implementation are mostly
>> in datetime and
>> commandline, if I recall correctly. These are already present in Phobos?
>
> Maybe it contains the code I need to finish datetime off. Though I can't
> really just copy someone else's code, I suppose I can at least see what
> functions it uses.
>
> I haven't noticed much along the lines of command line manipulation in
> Phobos - only the code (now in druntime) to populate the args argument
> to main (which under Posix it just uses argc/argv from the C main). Or
> is there something I haven't found?
>
> Stewart.

http://dlang.org/phobos/std_getopt.html

But it might not do what you want.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list