blob: 520f6953cfeef4a646a6e1fa87a445a283e2be41 [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Ben Cheng655a7c02013-10-16 16:09:24 -07007#ifndef _UAPI_LINUX_UTSNAME_H
8#define _UAPI_LINUX_UTSNAME_H
9#define __OLD_UTS_LEN 8
10struct oldold_utsname {
Tao Baod7db5942015-01-28 10:07:51 -080011 char sysname[9];
12 char nodename[9];
13 char release[9];
14 char version[9];
Tao Baod7db5942015-01-28 10:07:51 -080015 char machine[9];
Ben Cheng655a7c02013-10-16 16:09:24 -070016};
17#define __NEW_UTS_LEN 64
18struct old_utsname {
Tao Baod7db5942015-01-28 10:07:51 -080019 char sysname[65];
20 char nodename[65];
21 char release[65];
22 char version[65];
Tao Baod7db5942015-01-28 10:07:51 -080023 char machine[65];
Ben Cheng655a7c02013-10-16 16:09:24 -070024};
25struct new_utsname {
Tao Baod7db5942015-01-28 10:07:51 -080026 char sysname[__NEW_UTS_LEN + 1];
Tao Baod7db5942015-01-28 10:07:51 -080027 char nodename[__NEW_UTS_LEN + 1];
28 char release[__NEW_UTS_LEN + 1];
29 char version[__NEW_UTS_LEN + 1];
30 char machine[__NEW_UTS_LEN + 1];
Tao Baod7db5942015-01-28 10:07:51 -080031 char domainname[__NEW_UTS_LEN + 1];
Ben Cheng655a7c02013-10-16 16:09:24 -070032};
Nick Kralevicha67e4de2013-01-14 11:28:26 -080033#endif