xref: /haiku/src/libs/bsd/lutimes.c (revision 1d3d336a97538125e6d7884229d2d0cd2076aa85)
1*1d3d336aSAlexander von Gluck IV /*
2*1d3d336aSAlexander von Gluck IV  * Copyright, 2016-2017 Haiku, Inc. All rights reserved.
3*1d3d336aSAlexander von Gluck IV  * Released under the terms of the MIT license.
4*1d3d336aSAlexander von Gluck IV  *
5*1d3d336aSAlexander von Gluck IV  * Authors:
6*1d3d336aSAlexander von Gluck IV  * 		Alexander von Gluck IV, kallisti5@unixzen.com
7*1d3d336aSAlexander von Gluck IV  */
8*1d3d336aSAlexander von Gluck IV 
9*1d3d336aSAlexander von Gluck IV 
10*1d3d336aSAlexander von Gluck IV #include <sys/time.h>
11*1d3d336aSAlexander von Gluck IV 
12*1d3d336aSAlexander von Gluck IV #include <OS.h>
13*1d3d336aSAlexander von Gluck IV 
14*1d3d336aSAlexander von Gluck IV 
15*1d3d336aSAlexander von Gluck IV extern int _utimes(const char* path, const struct timeval times[2],
16*1d3d336aSAlexander von Gluck IV 	bool traverseLink);
17*1d3d336aSAlexander von Gluck IV 
18*1d3d336aSAlexander von Gluck IV 
19*1d3d336aSAlexander von Gluck IV int
lutimes(const char * path,const struct timeval times[2])20*1d3d336aSAlexander von Gluck IV lutimes(const char* path, const struct timeval times[2])
21*1d3d336aSAlexander von Gluck IV {
22*1d3d336aSAlexander von Gluck IV 	return _utimes(path, times, false);
23*1d3d336aSAlexander von Gluck IV }
24