From 091207c331dcb40c1afec65bbb85ac5d2757072e Mon Sep 17 00:00:00 2001 From: cuz Date: Tue, 12 Aug 2003 16:56:32 +0000 Subject: [PATCH] Add getcwd git-svn-id: svn://svn.cc65.org/cc65/trunk@2283 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- include/unistd.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/unistd.h b/include/unistd.h index 039775e65..e7ce5025e 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -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); -- 2.39.5