summaryrefslogtreecommitdiff
path: root/stdlib.c
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2016-10-04 05:25:26 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2016-10-04 05:25:26 -0500
commit6b43a6a6c1f238b5ddea05964e19de86fe2fcda1 (patch)
tree0539ab871f01518a0eb26fad9ebe823025bdeaee /stdlib.c
parent7515ce3fa8b30f7b7d67bc2a659e15276c0923d7 (diff)
downloadgcompat-6b43a6a6c1f238b5ddea05964e19de86fe2fcda1.tar.gz
gcompat-6b43a6a6c1f238b5ddea05964e19de86fe2fcda1.tar.bz2
gcompat-6b43a6a6c1f238b5ddea05964e19de86fe2fcda1.tar.xz
gcompat-6b43a6a6c1f238b5ddea05964e19de86fe2fcda1.zip
Add some _chk interfaces
Diffstat (limited to 'stdlib.c')
-rw-r--r--stdlib.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/stdlib.c b/stdlib.c
index b81eb91..30c904e 100644
--- a/stdlib.c
+++ b/stdlib.c
@@ -1,6 +1,12 @@
#include <assert.h> // assert
#include <stdlib.h> // strtod
+char *__realpath_chk(const char *path, char *resolved_path)
+{
+ assert(path != NULL);
+ return realpath(path, resolved_path);
+}
+
double __strtod_internal(const char *__nptr, char **__endptr, int __group)
{
assert(__group == 0);