Thread overview
chmod and chown in D
Jun 11, 2008
J3nkl3r
Jun 11, 2008
Lars Ivar Igesund
June 11, 2008
Hi all
i am trying out gdc and the d lang. Does anyone know how to fix chmod and chown
c has sys/stat.h but i don't understand how i can fix chmod in d

I want to make a chmod program in D

regards
/J3nkl3r
June 11, 2008
J3nkl3r wrote:

> Hi all
> i am trying out gdc and the d lang. Does anyone know how to fix chmod and
> chown c has sys/stat.h but i don't understand how i can fix chmod in d
> 
> I want to make a chmod program in D
> 
> regards
> /J3nkl3r

With Tango, you'll find those in

tango/stdc/posix/sys/stat.d

-- 
Lars Ivar Igesund
blog at http://larsivi.net
DSource, #d.tango & #D: larsivi
Dancing the Tango
June 11, 2008
Lars Ivar Igesund wrote:

>> i am trying out gdc and the d lang. Does anyone know how to fix chmod and
>> chown c has sys/stat.h but i don't understand how i can fix chmod in d
>>
>> I want to make a chmod program in D

> With Tango, you'll find those in
> 
> tango/stdc/posix/sys/stat.d

With Phobos, they are in std.c.linux.linux for DMD
and in std.c.unix.unix for GDC (including on Linux).

--anders