mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 08:12:28 +00:00
Initial import
This commit is contained in:
commit
c91b3c5006
14915 changed files with 590219 additions and 0 deletions
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_ */
|
Loading…
Add table
Add a link
Reference in a new issue