| 357 | } |
| 358 | |
| 359 | char * |
| 360 | getcwd(char *buffer, int maxlen) |
| 361 | { |
| 362 | if (maxlen < (int) _tcslen(_nh_cwd)) |
| 363 | return NULL; |
| 364 | else |
| 365 | return NH_W2A(_nh_cwd, buffer, maxlen); |
| 366 | } |
| 367 | |
| 368 | /*------------------------------------------------------------------------------*/ |
| 369 | /* __errno.h__ */ |