mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 09:18:05 +03:00
15 lines
224 B
C++
15 lines
224 B
C++
#include <sys/utsname.h>
|
|
#include <errno.h>
|
|
#include <Kernel/Syscall.h>
|
|
|
|
extern "C" {
|
|
|
|
int uname(struct utsname* buf)
|
|
{
|
|
int rc = Syscall::invoke(Syscall::SC_uname, (dword)buf);
|
|
__RETURN_WITH_ERRNO(rc, rc, -1);
|
|
}
|
|
|
|
}
|
|
|