toaruos/base/usr/include/sys/utsname.h

23 lines
385 B
C
Raw Normal View History

2018-02-25 08:13:54 +03:00
#pragma once
2018-10-12 05:15:40 +03:00
#include <_cheader.h>
_Begin_C_Header
2018-02-25 08:13:54 +03:00
#define _UTSNAME_LENGTH 256
struct utsname {
char sysname[_UTSNAME_LENGTH];
char nodename[_UTSNAME_LENGTH];
char release[_UTSNAME_LENGTH];
char version[_UTSNAME_LENGTH];
char machine[_UTSNAME_LENGTH];
char domainname[_UTSNAME_LENGTH];
};
2018-03-16 12:27:01 +03:00
#ifndef _KERNEL_
2018-02-25 08:13:54 +03:00
extern int uname(struct utsname *__name);
2018-03-16 12:27:01 +03:00
#endif
2018-10-12 05:15:40 +03:00
_End_C_Header