The C and C++ Include Header Files
/usr/include/linux/utsname.h
$ cat -n /usr/include/linux/utsname.h 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 #ifndef _LINUX_UTSNAME_H 3 #define _LINUX_UTSNAME_H 4 5 #define __OLD_UTS_LEN 8 6 7 struct oldold_utsname { 8 char sysname[9]; 9 char nodename[9]; 10 char release[9]; 11 char version[9]; 12 char machine[9]; 13 }; 14 15 #define __NEW_UTS_LEN 64 16 17 struct old_utsname { 18 char sysname[65]; 19 char nodename[65]; 20 char release[65]; 21 char version[65]; 22 char machine[65]; 23 }; 24 25 struct new_utsname { 26 char sysname[__NEW_UTS_LEN + 1]; 27 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]; 31 char domainname[__NEW_UTS_LEN + 1]; 32 }; 33 34 35 #endif /* _LINUX_UTSNAME_H */
Contact us
|
About us
|
Term of use
|
Copyright © 2000-2024 MyWebUniversity.com ™