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
fd1cbe0b
Commit
fd1cbe0b
authored
May 04, 2014
by
Lars Buitinck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add posix.stdlib library
parent
4345655e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
0 deletions
+33
-0
Cython/Includes/posix/stdlib.pxd
Cython/Includes/posix/stdlib.pxd
+29
-0
tests/compile/posix_pxds.pyx
tests/compile/posix_pxds.pyx
+4
-0
No files found.
Cython/Includes/posix/stdlib.pxd
0 → 100644
View file @
fd1cbe0b
# POSIX additions to <stdlib.h>
# http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/stdlib.h.html
cdef
extern
from
"stdlib.h"
nogil
:
void
_Exit
(
int
)
double
drand48
()
double
erand48
(
unsigned
short
*
)
int
getsubopt
(
char
**
,
char
*
const
*
,
char
**
)
void
lcong48
(
unsigned
short
*
)
long
lrand
()
char
*
mkdtemp
(
char
*
)
int
mkstemp
(
char
*
)
long
mrand
()
long
nrand48
(
unsigned
short
*
)
int
posix_memalign
(
void
**
,
size_t
,
size_t
)
int
posix_openpt
(
int
)
char
*
ptsname
(
int
)
int
putenv
(
char
*
)
int
rand_r
(
unsigned
*
)
long
random
()
char
*
realpath
(
const
char
*
,
char
*
)
unsigned
short
*
seed48
(
unsigned
short
*
)
int
setenv
(
const
char
*
,
const
char
*
,
int
)
void
setkey
(
const
char
*
)
char
*
setstate
(
char
*
)
void
srand48
(
long
)
void
srandom
(
unsigned
)
int
unlockpt
(
int
)
int
unsetenv
(
const
char
*
)
tests/compile/posix_pxds.pyx
View file @
fd1cbe0b
...
...
@@ -18,3 +18,7 @@ from posix.types cimport *
cimport
posix.stat
from
posix
cimport
stat
from
posix.stat
cimport
*
cimport
posix.stdlib
from
posix
cimport
stdlib
from
posix.stdlib
cimport
*
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