aboutsummaryrefslogtreecommitdiffhomepage
path: root/wutil.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-10-31 01:15:50 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-10-31 01:15:50 -0700
commit7ac593273e25d5ce39104dc1752660a43a29f61d (patch)
tree1f0a18a2f49a61460ff8d7c1c3de375af37395d4 /wutil.h
parenta529fc9d83295fdf9418436b68d056162ba8231b (diff)
Remove a bunch of dead code identified by cppcheck
Diffstat (limited to 'wutil.h')
-rw-r--r--wutil.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/wutil.h b/wutil.h
index 36d6d075..a1945c07 100644
--- a/wutil.h
+++ b/wutil.h
@@ -38,14 +38,6 @@ FILE *wfopen(const wcstring &path, const char *mode);
/** Sets CLO_EXEC on a given fd */
bool set_cloexec(int fd);
-/**
- Wide character version of freopen().
-*/
-FILE *wfreopen(const wcstring &path, const char *mode, FILE *stream);
-
-/** Wide character version of open(). */
-int wopen(const wcstring &pathname, int flags, mode_t mode = 0);
-
/** Wide character version of open() that also sets the close-on-exec flag (atomically when possible). */
int wopen_cloexec(const wcstring &pathname, int flags, mode_t mode = 0);
@@ -55,10 +47,6 @@ int make_fd_nonblocking(int fd);
/** Mark an fd as blocking; returns errno or 0 on success */
int make_fd_blocking(int fd);
-/** Wide character version of creat(). */
-int wcreat(const wcstring &pathname, mode_t mode);
-
-
/** Wide character version of opendir(). Note that opendir() is guaranteed to set close-on-exec by POSIX (hooray). */
DIR *wopendir(const wcstring &name);
@@ -142,11 +130,6 @@ std::wstring wbasename(const std::wstring &path);
const wchar_t *wgettext(const wchar_t *in);
/**
- Wide character version of getenv
-*/
-const wchar_t *wgetenv(const wcstring &name);
-
-/**
Wide character version of mkdir
*/
int wmkdir(const wcstring &dir, int mode);