summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-02-09 15:08:15 -0500
committerJakob Kaivo <jkk@ung.org>2019-02-09 15:08:15 -0500
commit452ac2f7d9d5ecd57e80d95e5752f8c8304ff0b0 (patch)
treea479bed091f948979688cb517e9b7f8b31a099c6
parentfa3399d66302f055972b1e6c3b775a2c8d5a5d3b (diff)
merge XOPEN identifiers
-rw-r--r--src/wchar/wcswidth.c10
-rw-r--r--src/wchar/wcwidth.c10
2 files changed, 20 insertions, 0 deletions
diff --git a/src/wchar/wcswidth.c b/src/wchar/wcswidth.c
new file mode 100644
index 00000000..54332392
--- /dev/null
+++ b/src/wchar/wcswidth.c
@@ -0,0 +1,10 @@
+#include <wchar.h>
+
+int wcswidth(const wchar_t * wcsptr, size_t n)
+{
+}
+
+/*
+XOPEN(4)
+NOTE: this portion is shaded WP in SUSv1
+*/
diff --git a/src/wchar/wcwidth.c b/src/wchar/wcwidth.c
new file mode 100644
index 00000000..4b1a32fe
--- /dev/null
+++ b/src/wchar/wcwidth.c
@@ -0,0 +1,10 @@
+#include <wchar.h>
+
+int wcwidth(wchar_t wc)
+{
+}
+
+/*
+XOPEN(4)
+NOTE: this function is shaded "WP" in SUSv1
+*/