summaryrefslogtreecommitdiff
path: root/StdLib/Include
diff options
context:
space:
mode:
authordarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>2011-10-03 18:54:12 +0000
committerdarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>2011-10-03 18:54:12 +0000
commit41b152c5f6ec3a5a6e51b4f8f0f90291a5895edc (patch)
treedb28131d5929a4805654a802b64cc0d980b9559e /StdLib/Include
parent58081f2c64fbc2f89ac5a9b47b2643c280bc8f99 (diff)
downloadedk2-platforms-41b152c5f6ec3a5a6e51b4f8f0f90291a5895edc.tar.xz
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
Diffstat (limited to 'StdLib/Include')
-rw-r--r--StdLib/Include/sys/EfiSysCall.h2
-rw-r--r--StdLib/Include/unistd.h1
2 files changed, 2 insertions, 1 deletions
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);