From 41b152c5f6ec3a5a6e51b4f8f0f90291a5895edc Mon Sep 17 00:00:00 2001 From: darylm503 Date: Mon, 3 Oct 2011 18:54:12 +0000 Subject: StdLib: Improve robustness of stat() and make basename() a public function. AppPkg: Refinements to pyconfig.h and port of getpath.c to EDK II. Signed-off-by: darylm503 Reviewed-by: geekboy15a Reviewed-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12508 6f19259b-4bc3-4df7-8a09-765794883524 --- StdLib/Include/sys/EfiSysCall.h | 2 +- StdLib/Include/unistd.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'StdLib/Include') diff --git a/StdLib/Include/sys/EfiSysCall.h b/StdLib/Include/sys/EfiSysCall.h index bfbd14e1c5..1d01328609 100644 --- a/StdLib/Include/sys/EfiSysCall.h +++ b/StdLib/Include/sys/EfiSysCall.h @@ -291,7 +291,7 @@ __BEGIN_DECLS @return **/ - int stat (const char *, void *); + int stat (const char *, struct stat *); /** @param[in] diff --git a/StdLib/Include/unistd.h b/StdLib/Include/unistd.h index 2134f15765..4d738c64b6 100644 --- a/StdLib/Include/unistd.h +++ b/StdLib/Include/unistd.h @@ -39,6 +39,7 @@ pid_t tcgetpgrp(int); char *getpass(const char *); int usleep(useconds_t); unsigned int sleep(unsigned int); +char *basename(char *path); // Networking long gethostid(void); -- cgit v1.2.3