Esempio n. 1
0
 public hostent gethostbyname(String arg0) {
   Pointer var0 = Pointer.createStringBuffer(arg0);
   int result0 = gethostbynamePtr.call1(var0);
   hostent result = (hostent) Function.returnStruct(hostent.class, result0);
   var0.free();
   return result;
 }
Esempio n. 2
0
 public int h_errno() {
   return h_errnoPtr.getInt(0);
 }