KallistiOS
git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
utime.h
Go to the documentation of this file.
1
/* KallistiOS ##version##
2
3
utime.h
4
Copyright (C) 2024 Falco Girgis
5
*/
6
7
/** \file utime.h
8
\brief KOS extension of Newlib's utime.h
9
10
Newlib does not ever actually declare a prototype for utime() within
11
its header, despite implementing it for SH. We add the prototype ourselves.
12
13
\author Falco Girgis
14
*/
15
16
#ifndef __KOS_UTIME_H
17
#define __KOS_UTIME_H
18
19
__BEGIN_DECLS
20
21
#include <
time.h
>
22
23
struct
utimbuf
{
24
time_t
actime
;
/**< access time */
25
time_t
modtime
;
/**< modification time */
26
};
27
28
extern
int
utime
(
const
char
*path,
struct
utimbuf
*times);
29
30
__END_DECLS
31
32
#endif
/* __KOS_UTIME_H */
utimbuf
Definition
utime.h:23
utimbuf::modtime
time_t modtime
modification time
Definition
utime.h:25
utimbuf::actime
time_t actime
access time
Definition
utime.h:24
time.h
KOS-implementation of select C11 and POSIX extensions.
utime
int utime(const char *path, struct utimbuf *times)
include
utime.h
Generated by
1.11.0