repo.or.cz
/
sane-backend-magicolor.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
The magicolor device apparently does not support WAIT_FOR_BUTTON
[sane-backend-magicolor.git]
/
lib
/
getenv.c
blob
c45065989c7eb47b2b25b0cc984e229e1d5fbb89
1
#include
"../include/sane/config.h"
2
3
#ifndef HAVE_GETENV
4
5
char
*
6
getenv
(
const char
*
name
)
7
{
8
char
*
retval
=
0
;
9
#ifdef HAVE_OS2_H
10
if
(
0
!=
DosScanEnv
(
buf
, &
retval
))
11
retval
=
0
;
12
#else
13
# error
"Missing getenv() on this platform. Please implement."
14
#endif
15
return
retval
;
16
}
17
18
#endif
/* !HAVE_GETENV */