All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jdk.internal.sys.posix.ArpaInet Maven / Gradle / Ivy

There is a newer version: 17.alpha.0.57
Show newest version
package jdk.internal.sys.posix;

import static org.qbicc.runtime.CNative.*;
import static org.qbicc.runtime.stdc.Stdint.*;

@define(value = "_POSIX_C_SOURCE", as = "200809L")
@include("")
public class ArpaInet {
    public static native uint64_t htonll(uint64_t hostlonglong);
    public static native uint32_t htonl(uint32_t hostlong);
    public static native uint16_t htons(uint16_t hostshort);

    public static native uint64_t ntohll(uint64_t netlonglong);
    public static native uint32_t ntohl(uint32_t netlong);
    public static native uint16_t ntohs(uint16_t netshort);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy