Преглед на файлове

LibC: Add stub for iswprint

Without the declaration of iswprint libarchive will not compile.
Kenneth Myhra преди 4 години
родител
ревизия
afb47d1741
променени са 2 файла, в които са добавени 7 реда и са изтрити 0 реда
  1. 6 0
      Userland/Libraries/LibC/wctype.cpp
  2. 1 0
      Userland/Libraries/LibC/wctype.h

+ 6 - 0
Userland/Libraries/LibC/wctype.cpp

@@ -21,4 +21,10 @@ int iswctype(wint_t, wctype_t)
     dbgln("FIXME: Implement iswctype()");
     TODO();
 }
+
+int iswprint(wint_t)
+{
+    dbgln("FIXME: Implement iswprint()");
+    TODO();
+}
 }

+ 1 - 0
Userland/Libraries/LibC/wctype.h

@@ -12,5 +12,6 @@ __BEGIN_DECLS
 
 wctype_t wctype(const char* name);
 int iswctype(wint_t wc, wctype_t desc);
+int iswprint(wint_t wc);
 
 __END_DECLS