]> git.sur5r.net Git - cc65/commitdiff
Add getcwd
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 12 Aug 2003 16:56:32 +0000 (16:56 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 12 Aug 2003 16:56:32 +0000 (16:56 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2283 b7a2c559-68d2-44c3-8de9-860c34a00d81

include/unistd.h

index 039775e654249754682fbd5d3c090abcc3151ce7..e7ce5025ec8ef23a63eef3924e12a545d1733a63 100644 (file)
@@ -37,9 +37,9 @@
 #define _UNISTD_H
 
 
-
+                                                   
 /*****************************************************************************/
-/*                                  Data                                    */
+/*                                  Data                                    */
 /*****************************************************************************/
 
 
@@ -58,7 +58,7 @@ typedef long int off_t;
 
 
 /*****************************************************************************/
-/*                                  Code                                    */
+/*                                  Code                                    */
 /*****************************************************************************/
 
 
@@ -71,6 +71,7 @@ int __fastcall__ unlink (const char* name);   /* Same as remove() */
 
 /* Directories */
 int __fastcall__ chdir (const char* name);
+char* __fastcall__ getcwd (char* buf, size_t size);
 int mkdir (const char* name, ...);             /* May take a mode argument */
 int __fastcall__ rmdir (const char* name);