ReactOS 0.4.15-dev-8138-g1e75ea8
utime.c File Reference
#include <precomp.h>
#include <tchar.h>
#include <sys/utime.h>
#include "bitsfixup.h"
Include dependency graph for utime.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define RC_INVOKED   1
 

Functions

int _tutime (const _TCHAR *path, struct _utimbuf *t)
 

Macro Definition Documentation

◆ RC_INVOKED

#define RC_INVOKED   1

Definition at line 39 of file utime.c.

Function Documentation

◆ _tutime()

int _tutime ( const _TCHAR path,
struct _utimbuf t 
)

Definition at line 44 of file utime.c.

45{
47
48 if (fd > 0)
49 {
50 int retVal = _futime(fd, t);
51 _close(fd);
52 return retVal;
53 }
54 return -1;
55}
#define _O_BINARY
Definition: cabinet.h:51
#define _O_WRONLY
Definition: cabinet.h:38
GLdouble GLdouble t
Definition: gl.h:2047
#define _topen
Definition: tchar.h:722
_Check_return_opt_ _CRTIMP int __cdecl _close(_In_ int _FileHandle)
static int fd
Definition: io.c:51
_CRTIMP int __cdecl _futime(_In_ int _FileDes, _In_opt_ struct _utimbuf *_Time)