Something went wrong. Try again.
forked from shirou/gopsutil
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647// SPDX-License-Identifier: BSD-3-Clause//go:build ignore
/*Input to cgo -godefs.*/
package host
/*#define KERNEL#include <sys/types.h>#include <sys/time.h>#include <utmp.h>
enum { sizeofPtr = sizeof(void*),};
*/import "C"
// Machine characteristics; for internal use.
const ( sizeofPtr = C.sizeofPtr sizeofShort = C.sizeof_short sizeofInt = C.sizeof_int sizeofLong = C.sizeof_long sizeofLongLong = C.sizeof_longlong sizeOfUtmp = C.sizeof_struct_utmp)
// Basic types
type ( _C_short C.short _C_int C.int _C_long C.long _C_long_long C.longlong)
type ( Utmp C.struct_utmp Timeval C.struct_timeval)