Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
695c2bbd
Commit
695c2bbd
authored
Jan 13, 2003
by
Dimitrie O. Paun
Committed by
Alexandre Julliard
Jan 13, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Define the (old name) struct stat, it is used by programs using the
old names.
parent
daeaff69
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
stat.h
include/msvcrt/sys/stat.h
+16
-2
No files found.
include/msvcrt/sys/stat.h
View file @
695c2bbd
...
...
@@ -83,6 +83,20 @@ struct _stat {
MSVCRT
(
time_t
)
st_ctime
;
};
struct
MSVCRT
(
stat
)
{
_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
;
MSVCRT
(
_off_t
)
st_size
;
MSVCRT
(
time_t
)
st_atime
;
MSVCRT
(
time_t
)
st_mtime
;
MSVCRT
(
time_t
)
st_ctime
;
};
struct
_stati64
{
_dev_t
st_dev
;
_ino_t
st_ino
;
...
...
@@ -128,8 +142,8 @@ int _wstati64(const MSVCRT(wchar_t)*,struct _stati64*);
#define S_IWRITE _S_IWRITE
#define S_IEXEC _S_IEXEC
static
inline
int
fstat
(
int
fd
,
struct
_stat
*
ptr
)
{
return
_fstat
(
fd
,
ptr
);
}
static
inline
int
stat
(
const
char
*
path
,
struct
_stat
*
ptr
)
{
return
_stat
(
path
,
ptr
);
}
static
inline
int
fstat
(
int
fd
,
struct
stat
*
ptr
)
{
return
_fstat
(
fd
,
(
struct
_stat
*
)
ptr
);
}
static
inline
int
stat
(
const
char
*
path
,
struct
stat
*
ptr
)
{
return
_stat
(
path
,
(
struct
_stat
*
)
ptr
);
}
#ifndef MSVCRT_UMASK_DEFINED
static
inline
int
umask
(
int
fd
)
{
return
_umask
(
fd
);
}
#define MSVCRT_UMASK_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