Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
7c90a895
Commit
7c90a895
authored
Dec 31, 2002
by
Andrew MacIntyre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
getenv() replacement not required
parent
978697bf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
PC/os2emx/dllentry.c
PC/os2emx/dllentry.c
+0
-16
No files found.
PC/os2emx/dllentry.c
View file @
7c90a895
...
...
@@ -10,8 +10,6 @@
REF
(
Py_Main
);
#if defined (__EMX__)
#include <signal.h>
extern
int
_CRT_init
(
void
);
...
...
@@ -38,17 +36,3 @@ unsigned long _DLL_InitTerm (unsigned long mod_handle, unsigned long flag)
return
0
;
}
}
#endif
/* A version of getenv() that works from DLLs */
extern
int
DosScanEnv
(
const
char
*
pszName
,
char
**
ppszValue
);
char
*
getenv
(
const
char
*
name
)
{
char
*
value
;
if
(
DosScanEnv
(
name
,
&
value
))
return
NULL
;
else
return
value
;
}
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