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
23struct utimbuf {
24 time_t actime; /**< access time */
25 time_t modtime; /**< modification time */
26};
27
28extern int utime(const char *path, struct utimbuf *times);
29
30__END_DECLS
31
32#endif /* __KOS_UTIME_H */
Definition utime.h:23
time_t modtime
modification time
Definition utime.h:25
time_t actime
access time
Definition utime.h:24
KOS-implementation of select C11 and POSIX extensions.
int utime(const char *path, struct utimbuf *times)