Exemplo 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;
 }
Exemplo n.º 2
0
 public int h_errno() {
   return h_errnoPtr.getInt(0);
 }