mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 21:07:35 +00:00
LibC: Add lutimes(2)
and futimes(2)
implementations
Needed for a port of nix
This commit is contained in:
parent
c6c0ce78f5
commit
b8c847a3cd
2 changed files with 30 additions and 4 deletions
|
@ -20,7 +20,9 @@ struct timezone {
|
|||
int adjtime(const struct timeval* delta, struct timeval* old_delta);
|
||||
int gettimeofday(struct timeval* __restrict__, void* __restrict__);
|
||||
int settimeofday(struct timeval* __restrict__, void* __restrict__);
|
||||
int utimes(char const* pathname, const struct timeval[2]);
|
||||
int utimes(char const* pathname, struct timeval const times[2]);
|
||||
int lutimes(char const* pathname, struct timeval const times[2]);
|
||||
int futimes(int fd, struct timeval const times[2]);
|
||||
|
||||
static inline void timeradd(const struct timeval* a, const struct timeval* b, struct timeval* out)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue