Преглед изворни кода

"implement" getnetbyaddr and getnetbyname

these are useless legacy functions but some old software contains
cruft that expects them to exist...
Rich Felker пре 13 година
родитељ
комит
c3c5e88c31
1 измењених фајлова са 12 додато и 0 уклоњено
  1. 12 0
      src/network/netname.c

+ 12 - 0
src/network/netname.c

@@ -0,0 +1,12 @@
+#include <netdb.h>
+
+struct netent *getnetbyaddr(uint32_t net, int type)
+{
+	return 0;
+}
+
+struct netent *getnetbyname(const char *name)
+{
+	return 0;
+}
+