1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-26 08:32:00 +00:00

Add getcwd

git-svn-id: svn://svn.cc65.org/cc65/trunk@2283 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2003-08-12 16:56:32 +00:00
parent 7cc6ab0c16
commit 091207c331

View File

@ -37,9 +37,9 @@
#define _UNISTD_H #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 */ /* Directories */
int __fastcall__ chdir (const char* name); 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 mkdir (const char* name, ...); /* May take a mode argument */
int __fastcall__ rmdir (const char* name); int __fastcall__ rmdir (const char* name);