diff options
author | Jakob Kaivo <jkk@ung.org> | 2019-02-09 13:14:01 -0500 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2019-02-09 13:14:01 -0500 |
commit | 253a32e2f9ff1cbb8edbe7c79834a678daebeb93 (patch) | |
tree | 599cf5baf01c6dae33a2f89989b08b7d553f7fd0 /src/utime | |
parent | 88d0b5e7ffbf0554b236dc46225846061b5f4817 (diff) |
merge POSIX.1-1988/1990
Diffstat (limited to 'src/utime')
-rw-r--r-- | src/utime/struct_utimbuf.c | 10 | ||||
-rw-r--r-- | src/utime/utime.c | 11 |
2 files changed, 21 insertions, 0 deletions
diff --git a/src/utime/struct_utimbuf.c b/src/utime/struct_utimbuf.c new file mode 100644 index 00000000..6fd37261 --- /dev/null +++ b/src/utime/struct_utimbuf.c @@ -0,0 +1,10 @@ +#include <utime.h> + +struct utimbuf { + time_t actime; + time_t modtime; +}; + +/* +POSIX(1) +*/ diff --git a/src/utime/utime.c b/src/utime/utime.c new file mode 100644 index 00000000..75ce6c1d --- /dev/null +++ b/src/utime/utime.c @@ -0,0 +1,11 @@ +#include "time.h" +#include <utime.h> + +int utime(const char *path, const struct utimbuf *times) +{ + (void)path; (void)times; + return -1; +} +/* +POSIX(1) +*/ |