/* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ #include #include #include char * getwd(char *buffer) { if (buffer == 0) return 0; return getcwd(buffer, PATH_MAX); }