utime.mh

来自「开放源码的编译器open watcom 1.6.0版的源代码」· MH 代码 · 共 39 行

MH
39
字号
/*
 *  utime.h utimbuf structure and prototypes
 *
:include crwatqnx.sp
 */
#ifndef _UTIME_H_INCLUDED
#define _UTIME_H_INCLUDED
:include readonly.sp
:include cpluspro.sp

#ifndef _COMDEF_H_INCLUDED
 #include <_comdef.h>
#endif

:include pshpackl.sp
:include timet.sp

:include wchar_t.sp

struct utimbuf {
    time_t      actime;         /* access time */
    time_t      modtime;        /* modification time */
};
#define _utimbuf    utimbuf

/*
 *  POSIX 1003.1 Prototype
 */
_WCRTLINK extern int utime( const char *__path, const struct utimbuf *__times );
_WCRTLINK extern int _utime( const char *__path, const struct utimbuf *__times );
_WCRTLINK extern int _wutime( const wchar_t *__path, const struct utimbuf *__times );
:segment QNX
_WCRTLINK extern int __futime( int __fildes, const struct utimbuf *__times );
:endsegment

:include poppack.sp
:include cplusepi.sp
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?