shithub: riscv

ref: 46cf9d4eb02a3a7c2516be3053994d4fb69eb949
dir: /sys/include/ape/sys/utsname.h/

View raw version
#ifndef __UTSNAME
#define __UTSNAME
#pragma lib "/$M/lib/ape/libap.a"

struct utsname {
	char	*sysname;
	char	*nodename;
	char	*release;
	char	*version;
	char	*machine;
};

#ifdef __cplusplus
extern "C" {
#endif

int uname(struct utsname *);

#ifdef __cplusplus
}
#endif

#endif