1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 22:27:35 +00:00

Move <utsname.h> to <sys/utsname.h> for correctness.

This commit is contained in:
Andreas Kling 2018-11-09 10:24:41 +01:00
parent 8249c086c3
commit 7b3b5f745f
4 changed files with 9 additions and 9 deletions

20
LibC/sys/utsname.h Normal file
View 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