mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:47:45 +00:00
Move <utsname.h> to <sys/utsname.h> for correctness.
This commit is contained in:
parent
8249c086c3
commit
7b3b5f745f
4 changed files with 9 additions and 9 deletions
20
LibC/sys/utsname.h
Normal file
20
LibC/sys/utsname.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
#pragma once
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#define UTSNAME_ENTRY_LEN 65
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
struct utsname {
|
||||
char sysname[UTSNAME_ENTRY_LEN];
|
||||
char nodename[UTSNAME_ENTRY_LEN];
|
||||
char release[UTSNAME_ENTRY_LEN];
|
||||
char version[UTSNAME_ENTRY_LEN];
|
||||
char machine[UTSNAME_ENTRY_LEN];
|
||||
};
|
||||
|
||||
int uname(struct utsname*);
|
||||
|
||||
__END_DECLS
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue