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