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
68582c27
Commit
68582c27
authored
Aug 16, 2016
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use angle brackes for posix includes.
parent
a9006f88
Changes
15
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
16 additions
and
16 deletions
+16
-16
Cython/Includes/posix/dlfcn.pxd
Cython/Includes/posix/dlfcn.pxd
+1
-1
Cython/Includes/posix/fcntl.pxd
Cython/Includes/posix/fcntl.pxd
+1
-1
Cython/Includes/posix/ioctl.pxd
Cython/Includes/posix/ioctl.pxd
+1
-1
Cython/Includes/posix/mman.pxd
Cython/Includes/posix/mman.pxd
+1
-1
Cython/Includes/posix/resource.pxd
Cython/Includes/posix/resource.pxd
+1
-1
Cython/Includes/posix/select.pxd
Cython/Includes/posix/select.pxd
+1
-1
Cython/Includes/posix/signal.pxd
Cython/Includes/posix/signal.pxd
+1
-1
Cython/Includes/posix/stat.pxd
Cython/Includes/posix/stat.pxd
+2
-2
Cython/Includes/posix/stdio.pxd
Cython/Includes/posix/stdio.pxd
+1
-1
Cython/Includes/posix/stdlib.pxd
Cython/Includes/posix/stdlib.pxd
+1
-1
Cython/Includes/posix/strings.pxd
Cython/Includes/posix/strings.pxd
+1
-1
Cython/Includes/posix/time.pxd
Cython/Includes/posix/time.pxd
+1
-1
Cython/Includes/posix/types.pxd
Cython/Includes/posix/types.pxd
+1
-1
Cython/Includes/posix/unistd.pxd
Cython/Includes/posix/unistd.pxd
+1
-1
Cython/Includes/posix/wait.pxd
Cython/Includes/posix/wait.pxd
+1
-1
No files found.
Cython/Includes/posix/dlfcn.pxd
View file @
68582c27
# POSIX dynamic linking/loading interface.
# POSIX dynamic linking/loading interface.
# http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/dlfcn.h.html
# http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/dlfcn.h.html
cdef
extern
from
"
dlfcn.h
"
nogil
:
cdef
extern
from
"
<dlfcn.h>
"
nogil
:
void
*
dlopen
(
const
char
*
,
int
)
void
*
dlopen
(
const
char
*
,
int
)
char
*
dlerror
()
char
*
dlerror
()
void
*
dlsym
(
void
*
,
const
char
*
)
void
*
dlsym
(
void
*
,
const
char
*
)
...
...
Cython/Includes/posix/fcntl.pxd
View file @
68582c27
# http://www.opengroup.org/onlinepubs/009695399/basedefs/fcntl.h.html
# http://www.opengroup.org/onlinepubs/009695399/basedefs/fcntl.h.html
cdef
extern
from
"
fcntl.h
"
nogil
:
cdef
extern
from
"
<fcntl.h>
"
nogil
:
enum
:
F_DUPFD
enum
:
F_DUPFD
enum
:
F_GETFD
enum
:
F_GETFD
...
...
Cython/Includes/posix/ioctl.pxd
View file @
68582c27
cdef
extern
from
"
sys/ioctl.h
"
nogil
:
cdef
extern
from
"
<sys/ioctl.h>
"
nogil
:
enum
:
FIONBIO
enum
:
FIONBIO
int
ioctl
(
int
fd
,
int
request
,
...)
int
ioctl
(
int
fd
,
int
request
,
...)
Cython/Includes/posix/mman.pxd
View file @
68582c27
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
from
posix.types
cimport
off_t
,
mode_t
from
posix.types
cimport
off_t
,
mode_t
cdef
extern
from
"
sys/mman.h
"
nogil
:
cdef
extern
from
"
<sys/mman.h>
"
nogil
:
enum
:
PROT_EXEC
# protection bits for mmap/mprotect
enum
:
PROT_EXEC
# protection bits for mmap/mprotect
enum
:
PROT_READ
enum
:
PROT_READ
enum
:
PROT_WRITE
enum
:
PROT_WRITE
...
...
Cython/Includes/posix/resource.pxd
View file @
68582c27
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
from
posix.time
cimport
timeval
from
posix.time
cimport
timeval
from
posix.types
cimport
id_t
from
posix.types
cimport
id_t
cdef
extern
from
"
sys/resource.h
"
nogil
:
cdef
extern
from
"
<sys/resource.h>
"
nogil
:
enum
:
PRIO_PROCESS
enum
:
PRIO_PROCESS
enum
:
PRIO_PGRP
enum
:
PRIO_PGRP
...
...
Cython/Includes/posix/select.pxd
View file @
68582c27
from
.types
cimport
sigset_t
from
.types
cimport
sigset_t
from
.time
cimport
timeval
,
timespec
from
.time
cimport
timeval
,
timespec
cdef
extern
from
"
sys/select.h
"
nogil
:
cdef
extern
from
"
<sys/select.h>
"
nogil
:
ctypedef
struct
fd_set
:
ctypedef
struct
fd_set
:
pass
pass
...
...
Cython/Includes/posix/signal.pxd
View file @
68582c27
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
from
posix.types
cimport
pid_t
,
sigset_t
,
uid_t
from
posix.types
cimport
pid_t
,
sigset_t
,
uid_t
cdef
extern
from
"
signal.h
"
nogil
:
cdef
extern
from
"
<signal.h>
"
nogil
:
cdef
union
sigval
:
cdef
union
sigval
:
int
sival_int
int
sival_int
...
...
Cython/Includes/posix/stat.pxd
View file @
68582c27
...
@@ -2,7 +2,7 @@ from posix.types cimport (blkcnt_t, blksize_t, dev_t, gid_t, ino_t, mode_t,
...
@@ -2,7 +2,7 @@ from posix.types cimport (blkcnt_t, blksize_t, dev_t, gid_t, ino_t, mode_t,
nlink_t
,
off_t
,
time_t
,
uid_t
)
nlink_t
,
off_t
,
time_t
,
uid_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
...
@@ -19,7 +19,7 @@ cdef extern from "sys/stat.h" nogil:
...
@@ -19,7 +19,7 @@ cdef extern from "sys/stat.h" nogil:
time_t
st_ctime
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
:
int
fchmod
(
int
,
mode_t
)
int
fchmod
(
int
,
mode_t
)
int
chmod
(
const
char
*
,
mode_t
)
int
chmod
(
const
char
*
,
mode_t
)
...
...
Cython/Includes/posix/stdio.pxd
View file @
68582c27
...
@@ -5,7 +5,7 @@ from libc.stdio cimport FILE
...
@@ -5,7 +5,7 @@ from libc.stdio cimport FILE
from
libc.stddef
cimport
wchar_t
from
libc.stddef
cimport
wchar_t
from
posix.types
cimport
off_t
from
posix.types
cimport
off_t
cdef
extern
from
"
stdio.h
"
nogil
:
cdef
extern
from
"
<stdio.h>
"
nogil
:
# File descriptors
# File descriptors
FILE
*
fdopen
(
int
,
const
char
*
)
FILE
*
fdopen
(
int
,
const
char
*
)
int
fileno
(
FILE
*
)
int
fileno
(
FILE
*
)
...
...
Cython/Includes/posix/stdlib.pxd
View file @
68582c27
# POSIX additions to <stdlib.h>
# POSIX additions to <stdlib.h>
# http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/stdlib.h.html
# http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/stdlib.h.html
cdef
extern
from
"
stdlib.h
"
nogil
:
cdef
extern
from
"
<stdlib.h>
"
nogil
:
void
_Exit
(
int
)
void
_Exit
(
int
)
double
drand48
()
double
drand48
()
double
erand48
(
unsigned
short
*
)
double
erand48
(
unsigned
short
*
)
...
...
Cython/Includes/posix/strings.pxd
View file @
68582c27
cdef
extern
from
"
strings.h
"
nogil
:
cdef
extern
from
"
<strings.h>
"
nogil
:
int
bcmp
(
const
void
*
,
const
void
*
,
size_t
)
int
bcmp
(
const
void
*
,
const
void
*
,
size_t
)
void
bcopy
(
const
void
*
,
void
*
,
size_t
)
void
bcopy
(
const
void
*
,
void
*
,
size_t
)
void
bzero
(
void
*
,
size_t
)
void
bzero
(
void
*
,
size_t
)
...
...
Cython/Includes/posix/time.pxd
View file @
68582c27
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
from
posix.types
cimport
suseconds_t
,
time_t
,
clockid_t
,
timer_t
from
posix.types
cimport
suseconds_t
,
time_t
,
clockid_t
,
timer_t
from
posix.signal
cimport
sigevent
from
posix.signal
cimport
sigevent
cdef
extern
from
"
sys/time.h
"
nogil
:
cdef
extern
from
"
<sys/time.h>
"
nogil
:
enum
:
CLOCK_PROCESS_CPUTIME_ID
enum
:
CLOCK_PROCESS_CPUTIME_ID
enum
:
CLOCK_THREAD_CPUTIME_ID
enum
:
CLOCK_THREAD_CPUTIME_ID
...
...
Cython/Includes/posix/types.pxd
View file @
68582c27
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
# the POSIX standard doesn't even specify that time_t must be an integral
# the POSIX standard doesn't even specify that time_t must be an integral
# type).
# type).
cdef
extern
from
"
sys/types.h
"
:
cdef
extern
from
"
<sys/types.h>
"
:
ctypedef
long
blkcnt_t
ctypedef
long
blkcnt_t
ctypedef
long
blksize_t
ctypedef
long
blksize_t
ctypedef
long
clockid_t
ctypedef
long
clockid_t
...
...
Cython/Includes/posix/unistd.pxd
View file @
68582c27
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
from
posix.types
cimport
gid_t
,
pid_t
,
off_t
,
uid_t
from
posix.types
cimport
gid_t
,
pid_t
,
off_t
,
uid_t
cdef
extern
from
"
unistd.h
"
nogil
:
cdef
extern
from
"
<unistd.h>
"
nogil
:
#:NULL
#:NULL
...
...
Cython/Includes/posix/wait.pxd
View file @
68582c27
...
@@ -4,7 +4,7 @@ from posix.types cimport pid_t, id_t
...
@@ -4,7 +4,7 @@ from posix.types cimport pid_t, id_t
from
posix.signal
cimport
siginfo_t
from
posix.signal
cimport
siginfo_t
from
posix.resource
cimport
rusage
from
posix.resource
cimport
rusage
cdef
extern
from
"
sys/wait.h
"
nogil
:
cdef
extern
from
"
<sys/wait.h>
"
nogil
:
enum
:
WNOHANG
enum
:
WNOHANG
enum
:
WUNTRACED
enum
:
WUNTRACED
enum
:
WCONTINUED
enum
:
WCONTINUED
...
...
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