Mercurial > projects > ldc
view tango/tango/stdc/posix/utime.d @ 341:1bb99290e03a trunk
[svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'.
author | lindquist |
---|---|
date | Sun, 13 Jul 2008 02:51:19 +0200 |
parents | 1700239cab2e |
children |
line wrap: on
line source
/** * D header file for POSIX. * * Copyright: Public Domain * License: Public Domain * Authors: Sean Kelly * Standards: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition */ module tango.stdc.posix.utime; private import tango.stdc.posix.config; public import tango.stdc.posix.sys.types; // for time_t extern (C): // // Required // /* struct utimbuf { time_t actime; time_t modtime; } int utime(char*, utimbuf*); */ version( linux ) { struct utimbuf { time_t actime; time_t modtime; } int utime(char*, utimbuf*); } else version( darwin ) { struct utimbuf { time_t actime; time_t modtime; } int utime(char*, utimbuf*); }