KallistiOS
git master
Independent SDK for the Sega Dreamcast
Toggle main menu visibility
Main Page
Source Code
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
l
o
s
t
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Variables
Typedefs
_
a
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
Enumerator
_
b
d
e
i
m
p
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
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
};
23
struct
utimbuf
{
…
};
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.12.0