projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
new libbb func: xmalloc_realpath (+ use it where makes sense)
[oweals/busybox.git]
/
include
/
libbb.h
diff --git
a/include/libbb.h
b/include/libbb.h
index 7ee66dce6df5ca3c7d7234eecab8376419b79692..e92e4db1c0b73a9e315cf37a6e1daa582e4c447f 100644
(file)
--- a/
include/libbb.h
+++ b/
include/libbb.h
@@
-238,6
+238,7
@@
extern DIR *warn_opendir(const char *path);
char *xgetcwd(char *cwd);
char *xreadlink(const char *path);
+char *xmalloc_realpath(const char *path);
extern void xstat(char *filename, struct stat *buf);
extern pid_t spawn(char **argv);
extern pid_t xspawn(char **argv);