1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/wince/stdlib.c
uema2 b2bb895aab Sat May 10 19:01:00 2003 Takaaki Uematsu <uema2x@jcom.home.ne.jp>
* wince/string.c: file removed.

* wince/stdlib.c: file added.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-10 09:59:11 +00:00

22 lines
461 B
C

/***************************************************************
stdlib.c
***************************************************************/
#include <windows.h>
char **environ;
extern char * rb_w32_getenv(const char *);
/* getenv should replace with rb_w32_getenv. */
char *getenv(const char *env)
{
return rb_w32_getenv(env);
}
char *_fullpath(char *absPath, const char *relPath,
size_t maxLength)
{
strcpy( absPath, relPath );
return absPath;
}