Initial import
This commit is contained in:
18
libc/calls/struct/utsname.h
Normal file
18
libc/calls/struct/utsname.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef COSMOPOLITAN_LIBC_CALLS_STRUCT_UTSNAME_H_
|
||||
#define COSMOPOLITAN_LIBC_CALLS_STRUCT_UTSNAME_H_
|
||||
|
||||
#define SYS_NMLN 321
|
||||
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
struct utsname {
|
||||
char sysname[SYS_NMLN];
|
||||
char nodename[SYS_NMLN];
|
||||
char release[SYS_NMLN];
|
||||
char version[SYS_NMLN];
|
||||
char machine[SYS_NMLN];
|
||||
char domainname[SYS_NMLN];
|
||||
};
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_CALLS_STRUCT_UTSNAME_H_ */
|
||||
Reference in New Issue
Block a user