![JAR search and dependency download from the Maven repository](/logo.png)
jnr.posix.DefaultNativeTimeval Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jnr-unixsocket-nodep Show documentation
Show all versions of jnr-unixsocket-nodep Show documentation
com.github.jnr:jnr-unixsocket with orh.objectweb.asm shaded
The newest version!
package jnr.posix;
public final class DefaultNativeTimeval extends Timeval {
public final SignedLong tv_sec = new SignedLong();
public final SignedLong tv_usec = new SignedLong();
public DefaultNativeTimeval(jnr.ffi.Runtime runtime) {
super(runtime);
}
public void setTime(long[] timeval) {
assert timeval.length == 2;
tv_sec.set(timeval[0]);
tv_usec.set(timeval[1]);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy