mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
24 lines
357 B
C
24 lines
357 B
C
|
#ifndef DIRECT_H
|
||
|
#define DIRECT_H 1
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
char *_getcwd(char* buffer, int maxlen);
|
||
|
int _chdir(const char * dirname);
|
||
|
int _rmdir(const char * dir);
|
||
|
int _mkdir(const char * dir);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
};
|
||
|
#endif
|
||
|
|
||
|
#define getcwd _getcwd
|
||
|
#define chdir _chdir
|
||
|
#define rmdir _rmdir
|
||
|
#define mkdir _mkdir
|
||
|
|
||
|
#endif
|