include: add utime(2) stub and memory.h
This commit is contained in:
parent
9e8fad9d70
commit
30263c6932
2
include/memory.h
Normal file
2
include/memory.h
Normal file
@ -0,0 +1,2 @@
|
||||
#pragma once
|
||||
#include <string.h>
|
10
include/utime.h
Normal file
10
include/utime.h
Normal file
@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
// TODO: #include <sys/types.h>!!!
|
||||
#include <sys/time.h>
|
||||
|
||||
struct utimbuf {
|
||||
time_t actime;
|
||||
time_t modtime;
|
||||
};
|
||||
|
||||
int utime(const char *filename, const struct utimbuf *times);
|
7
src/misc/utime.c
Normal file
7
src/misc/utime.c
Normal file
@ -0,0 +1,7 @@
|
||||
#include <utime.h>
|
||||
|
||||
int utime(const char *filename, const struct utimbuf *times) {
|
||||
(void) filename;
|
||||
(void) times;
|
||||
return 0;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user