Mercurial > projects > ldc
comparison tango/tango/stdc/posix/utime.d @ 132:1700239cab2e trunk
[svn r136] MAJOR UNSTABLE UPDATE!!!
Initial commit after moving to Tango instead of Phobos.
Lots of bugfixes...
This build is not suitable for most things.
author | lindquist |
---|---|
date | Fri, 11 Jan 2008 17:57:40 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
131:5825d48b27d1 | 132:1700239cab2e |
---|---|
1 /** | |
2 * D header file for POSIX. | |
3 * | |
4 * Copyright: Public Domain | |
5 * License: Public Domain | |
6 * Authors: Sean Kelly | |
7 * Standards: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition | |
8 */ | |
9 module tango.stdc.posix.utime; | |
10 | |
11 private import tango.stdc.posix.config; | |
12 public import tango.stdc.posix.sys.types; // for time_t | |
13 | |
14 extern (C): | |
15 | |
16 // | |
17 // Required | |
18 // | |
19 /* | |
20 struct utimbuf | |
21 { | |
22 time_t actime; | |
23 time_t modtime; | |
24 } | |
25 | |
26 int utime(char*, utimbuf*); | |
27 */ | |
28 | |
29 version( linux ) | |
30 { | |
31 struct utimbuf | |
32 { | |
33 time_t actime; | |
34 time_t modtime; | |
35 } | |
36 | |
37 int utime(char*, utimbuf*); | |
38 } | |
39 else version( darwin ) | |
40 { | |
41 struct utimbuf | |
42 { | |
43 time_t actime; | |
44 time_t modtime; | |
45 } | |
46 | |
47 int utime(char*, utimbuf*); | |
48 } |