Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
1a24106e
Commit
1a24106e
authored
Jul 06, 2014
by
Lars Buitinck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
complete struct stat in POSIX API
parent
a96882e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
Cython/Includes/posix/stat.pxd
Cython/Includes/posix/stat.pxd
+13
-2
No files found.
Cython/Includes/posix/stat.pxd
View file @
1a24106e
...
@@ -4,8 +4,19 @@ from posix.types cimport (blkcnt_t, blksize_t, dev_t, gid_t, ino_t, mode_t,
...
@@ -4,8 +4,19 @@ from posix.types cimport (blkcnt_t, blksize_t, dev_t, gid_t, ino_t, mode_t,
cdef
extern
from
"sys/stat.h"
nogil
:
cdef
extern
from
"sys/stat.h"
nogil
:
cdef
struct
struct_stat
"stat"
:
cdef
struct
struct_stat
"stat"
:
dev_t
st_dev
dev_t
st_dev
ino_t
st_ino
ino_t
st_ino
mode_t
st_mode
nlink_t
st_nlink
uid_t
st_uid
gid_t
st_gid
dev_t
st_rdev
off_t
st_size
blksize_t
st_blksize
blkcnt_t
st_blocks
time_t
st_atime
time_t
st_mtime
time_t
st_ctime
# POSIX prescribes including both <sys/stat.h> and <unistd.h> for these
# POSIX prescribes including both <sys/stat.h> and <unistd.h> for these
cdef
extern
from
"unistd.h"
nogil
:
cdef
extern
from
"unistd.h"
nogil
:
...
...
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