Annotation of mstools/h/sys/utime.h, revision 1.1.1.4

1.1       root        1: /***
1.1.1.3   root        2: *sys/utime.h - definitions/declarations for utime()
1.1       root        3: *
1.1.1.4 ! root        4: *      Copyright (c) 1985-1993, Microsoft Corporation. All rights reserved.
1.1       root        5: *
                      6: *Purpose:
                      7: *      This file defines the structure used by the utime routine to set
                      8: *      new file access and modification times.  NOTE - MS-DOS
                      9: *      does not recognize access time, so this field will
                     10: *      always be ignored and the modification time field will be
                     11: *      used to set the new time.
                     12: *
                     13: ****/
                     14: 
                     15: #ifndef _INC_UTIME
                     16: 
                     17: #ifdef __cplusplus
                     18: extern "C" {
                     19: #endif
                     20: 
                     21: 
1.1.1.3   root       22: /*
                     23:  * Conditional macro definition for function calling type and variable type
                     24:  * qualifiers.
                     25:  */
                     26: #if   ( (_MSC_VER >= 800) && (_M_IX86 >= 300) )
                     27: 
                     28: /*
                     29:  * Definitions for MS C8-32 (386/486) compiler
                     30:  */
                     31: #define _CRTAPI1 __cdecl
                     32: #define _CRTAPI2 __cdecl
                     33: 
                     34: #else
                     35: 
                     36: /*
                     37:  * Other compilers (e.g., MIPS)
                     38:  */
                     39: #define _CRTAPI1
                     40: #define _CRTAPI2
                     41: 
1.1.1.2   root       42: #endif
1.1       root       43: 
1.1.1.3   root       44: 
1.1       root       45: #ifndef _TIME_T_DEFINED
                     46: typedef long time_t;
                     47: #define _TIME_T_DEFINED
                     48: #endif
                     49: 
                     50: /* define struct used by _utime() function */
                     51: 
                     52: #ifndef _UTIMBUF_DEFINED
                     53: struct _utimbuf {
                     54:        time_t actime;          /* access time */
                     55:        time_t modtime;         /* modification time */
                     56:        };
                     57: #if !__STDC__
                     58: /* Non-ANSI name for compatibility */
                     59: #define utimbuf _utimbuf
                     60: #endif
                     61: 
                     62: #define _UTIMBUF_DEFINED
                     63: #endif
                     64: 
                     65: /* function prototypes */
                     66: 
1.1.1.3   root       67: int _CRTAPI1 _utime(char *, struct _utimbuf *);
                     68: int _CRTAPI1 _futime(int, struct _utimbuf *);
1.1       root       69: 
                     70: #if !__STDC__
                     71: /* Non-ANSI name for compatibility */
                     72: #define utime _utime
                     73: #endif
                     74: 
                     75: #ifdef __cplusplus
                     76: }
                     77: #endif
                     78: 
                     79: #define _INC_UTIME
                     80: #endif /* _INC_UTIME */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.