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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
6a9c3fe9
Commit
6a9c3fe9
authored
Jul 09, 2014
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #305 from larsmans/more-posix
complete struct stat in POSIX API
parents
a1fbea79
1a24106e
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 @
6a9c3fe9
...
...
@@ -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
struct
struct_stat
"stat"
:
dev_t
st_dev
ino_t
st_ino
dev_t
st_dev
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
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