home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 May
/
Pcwk5b98.iso
/
Borland
/
Cplus45
/
BC45
/
INC.PAK
/
UTIME.H
< prev
next >
Wrap
C/C++ Source or Header
|
1995-08-29
|
1KB
|
83 lines
/* utime.h
Definitions for utime() function.
*/
/*
* C/C++ Run Time Library - Version 6.5
*
* Copyright (c) 1991, 1994 by Borland International
* All Rights Reserved.
*
*/
#ifndef __UTIME_H
#define __UTIME_H
#if !defined(___DEFS_H)
#include <_defs.h>
#endif
#if !defined(RC_INVOKED)
#if defined(__STDC__)
#pragma warn -nak
#endif
#if defined(__FLAT__)
#pragma option -a-
#endif
#endif /* !RC_INVOKED */
#ifndef _TIME_T
#define _TIME_T
typedef long time_t;
#endif
/* Structure passed to utime containing file times
*/
struct utimbuf
{
time_t actime; /* access time (not used on DOS) */
time_t modtime; /* modification time */
};
#ifdef __cplusplus
extern "C" {
#endif
#if defined(__FLAT__)
int _RTLENTRY _EXPFUNC utime(const char _FAR * __path,
const struct utimbuf _FAR *__times);
#else
int _Cdecl _FARFUNC utime(const char _FAR *__path,
const struct utimbuf _FAR *__times);
#endif
#ifdef __cplusplus
}
#endif
#if !defined(RC_INVOKED)
#if defined(__FLAT__)
#pragma option -a. /* restore default packing */
#endif
#if defined(__STDC__)
#pragma warn .nak
#endif
#endif /* !RC_INVOKED */
#endif /* __UTIME_H */