summaryrefslogtreecommitdiff
path: root/klibc/include/sys/utsname.h
blob: f2990f57114adfcae3c0d83c60d8338c6ec95888 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * sys/utsname.h
 */

#ifndef _SYS_UTSNAME_H
#define _SYS_UTSNAME_H

#include <klibc/extern.h>

#define SYS_NMLN 65

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];
};

__extern int uname(struct utsname *);

#endif /* _SYS_UTSNAME_H */