From 03791432c7207da9eb6c898bf15f003ab92ff10e Mon Sep 17 00:00:00 2001 From: Gene Cumm Date: Sat, 26 Jun 2010 22:51:39 -0400 Subject: PM getcwd(); Fix COM32 getcwd Implement getcwd() in the core; Fix COM32 getcwd() to use the new function. This resolves the previous comment about COM32 getcwd() not working by not using INT 22h AX=001Fh. Signed-off-by: H. Peter Anvin --- core/include/fs.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/include/fs.h') diff --git a/core/include/fs.h b/core/include/fs.h index bb629c91..a01f9984 100644 --- a/core/include/fs.h +++ b/core/include/fs.h @@ -202,6 +202,9 @@ DIR *opendir(const char *pathname); struct dirent *readdir(DIR *dir); int closedir(DIR *dir); +/* getcwd.c */ +char *getcwd(char *buf, size_t size); + /* * Generic functions that filesystem drivers may choose to use */ -- cgit v1.2.1