10fae8733SScott McCreary /* 2*173f54f1SMatt Madia * Copyright 2002-2012 Haiku, Inc. All Rights Reserved. 30fae8733SScott McCreary * Distributed under the terms of the MIT License. 40fae8733SScott McCreary */ 52935bff6SAxel Dörfler #ifndef _UTIME_H_ 62935bff6SAxel Dörfler #define _UTIME_H_ 72935bff6SAxel Dörfler 88294b548SAxel Dörfler 92935bff6SAxel Dörfler #include <sys/types.h> 102935bff6SAxel Dörfler 112935bff6SAxel Dörfler 128294b548SAxel Dörfler struct utimbuf { 132935bff6SAxel Dörfler time_t actime; /* access time */ 142935bff6SAxel Dörfler time_t modtime; /* modification time */ 152935bff6SAxel Dörfler }; 162935bff6SAxel Dörfler 172935bff6SAxel Dörfler 182935bff6SAxel Dörfler extern 192935bff6SAxel Dörfler #ifdef __cplusplus 202935bff6SAxel Dörfler "C" 212935bff6SAxel Dörfler #endif 222935bff6SAxel Dörfler int utime(const char *path, const struct utimbuf *buffer); 232935bff6SAxel Dörfler 242935bff6SAxel Dörfler #endif /* _UTIME_H_ */ 25