Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
cbb6da2d
Commit
cbb6da2d
authored
Feb 14, 2007
by
Damjan Jovanovic
Committed by
Alexandre Julliard
Feb 14, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Added declarations for functions and structures related to stat64.
parent
6f7f2bf8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
57 additions
and
0 deletions
+57
-0
msvcrt.h
dlls/msvcrt/msvcrt.h
+15
-0
stat.h
include/msvcrt/sys/stat.h
+17
-0
types.h
include/msvcrt/sys/types.h
+5
-0
wchar.h
include/msvcrt/wchar.h
+20
-0
No files found.
dlls/msvcrt/msvcrt.h
View file @
cbb6da2d
...
...
@@ -59,6 +59,7 @@ typedef unsigned int MSVCRT__dev_t;
typedef
int
MSVCRT__off_t
;
typedef
long
MSVCRT_clock_t
;
typedef
long
MSVCRT_time_t
;
typedef
__int64
MSVCRT___time64_t
;
typedef
__int64
MSVCRT_fpos_t
;
typedef
void
(
*
MSVCRT_terminate_handler
)(
void
);
...
...
@@ -372,6 +373,20 @@ struct MSVCRT__stati64 {
MSVCRT_time_t
st_ctime
;
};
struct
MSVCRT__stat64
{
MSVCRT__dev_t
st_dev
;
MSVCRT__ino_t
st_ino
;
unsigned
short
st_mode
;
short
st_nlink
;
short
st_uid
;
short
st_gid
;
MSVCRT__dev_t
st_rdev
;
__int64
DECLSPEC_ALIGN
(
8
)
st_size
;
MSVCRT___time64_t
st_atime
;
MSVCRT___time64_t
st_mtime
;
MSVCRT___time64_t
st_ctime
;
};
#define MSVCRT_WEOF (MSVCRT_wint_t)(0xFFFF)
#define MSVCRT_EOF (-1)
#define MSVCRT_TMP_MAX 0x7fff
...
...
include/msvcrt/sys/stat.h
View file @
cbb6da2d
...
...
@@ -114,6 +114,20 @@ struct _stati64 {
time_t
st_mtime
;
time_t
st_ctime
;
};
struct
_stat64
{
_dev_t
st_dev
;
_ino_t
st_ino
;
unsigned
short
st_mode
;
short
st_nlink
;
short
st_uid
;
short
st_gid
;
_dev_t
st_rdev
;
__int64
DECLSPEC_ALIGN
(
8
)
st_size
;
__time64_t
st_atime
;
__time64_t
st_mtime
;
__time64_t
st_ctime
;
};
#endif
/* _STAT_DEFINED */
#ifdef __cplusplus
...
...
@@ -124,12 +138,15 @@ int _fstat(int,struct _stat*);
int
_stat
(
const
char
*
,
struct
_stat
*
);
int
_fstati64
(
int
,
struct
_stati64
*
);
int
_stati64
(
const
char
*
,
struct
_stati64
*
);
int
_fstat64
(
int
,
struct
_stat64
*
);
int
_stat64
(
const
char
*
,
struct
_stat64
*
);
int
_umask
(
int
);
#ifndef _WSTAT_DEFINED
#define _WSTAT_DEFINED
int
_wstat
(
const
wchar_t
*
,
struct
_stat
*
);
int
_wstati64
(
const
wchar_t
*
,
struct
_stati64
*
);
int
_wstat64
(
const
wchar_t
*
,
struct
_stat64
*
);
#endif
/* _WSTAT_DEFINED */
#ifdef __cplusplus
...
...
include/msvcrt/sys/types.h
View file @
cbb6da2d
...
...
@@ -56,6 +56,11 @@ typedef long time_t;
#define _TIME_T_DEFINED
#endif
#ifndef _TIME64_T_DEFINED
#define _TIME64_T_DEFINED
typedef
__int64
__time64_t
;
#endif
#ifndef _BSDTYPES_DEFINED
typedef
unsigned
char
u_char
;
typedef
unsigned
short
u_short
;
...
...
include/msvcrt/wchar.h
View file @
cbb6da2d
...
...
@@ -99,6 +99,11 @@ typedef long time_t;
#define _TIME_T_DEFINED
#endif
#ifndef _TIME64_T_DEFINED
#define _TIME64_T_DEFINED
typedef
__int64
__time64_t
;
#endif
#ifndef _TM_DEFINED
#define _TM_DEFINED
struct
tm
{
...
...
@@ -196,6 +201,20 @@ struct _stati64 {
time_t
st_mtime
;
time_t
st_ctime
;
};
struct
_stat64
{
_dev_t
st_dev
;
_ino_t
st_ino
;
unsigned
short
st_mode
;
short
st_nlink
;
short
st_uid
;
short
st_gid
;
_dev_t
st_rdev
;
__int64
DECLSPEC_ALIGN
(
8
)
st_size
;
__time64_t
st_atime
;
__time64_t
st_mtime
;
__time64_t
st_ctime
;
};
#endif
/* _STAT_DEFINED */
/* ASCII char classification table - binary compatible */
...
...
@@ -286,6 +305,7 @@ int _wsystem(const wchar_t*);
#define _WSTAT_DEFINED
int
_wstat
(
const
wchar_t
*
,
struct
_stat
*
);
int
_wstati64
(
const
wchar_t
*
,
struct
_stati64
*
);
int
_wstat64
(
const
wchar_t
*
,
struct
_stat64
*
);
#endif
/* _WSTAT_DEFINED */
#ifndef _WSTDIO_DEFINED
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment