aboutsummaryrefslogtreecommitdiffhomepage
path: root/wutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'wutil.h')
-rw-r--r--wutil.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/wutil.h b/wutil.h
index e05bd077..1b7cb308 100644
--- a/wutil.h
+++ b/wutil.h
@@ -141,4 +141,7 @@ int wmkdir( const wcstring &dir, int mode );
*/
int wrename( const wcstring &oldName, const wcstring &newName );
+/** Like wcstol(), but fails on a value outside the range of an int */
+int fish_wcstoi(const wchar_t *str, wchar_t ** endptr, int base);
+
#endif