6#ifndef ZEPHYR_INCLUDE_POSIX_SYS_UTSNAME_H_
7#define ZEPHYR_INCLUDE_POSIX_SYS_UTSNAME_H_
16#define _UTSNAME_NODENAME_LENGTH \
17 COND_CODE_1(CONFIG_POSIX_SINGLE_PROCESS, (CONFIG_POSIX_UNAME_VERSION_LEN), (0))
18#define _UTSNAME_VERSION_LENGTH \
19 COND_CODE_1(CONFIG_POSIX_SINGLE_PROCESS, (CONFIG_POSIX_UNAME_VERSION_LEN), (0))
25 char version[_UTSNAME_VERSION_LENGTH + 1];
char machine[sizeof(CONFIG_ARCH)]
Definition: utsname.h:26
char sysname[sizeof("Zephyr")]
Definition: utsname.h:22
char version[COND_CODE_1(CONFIG_POSIX_SINGLE_PROCESS,(CONFIG_POSIX_UNAME_VERSION_LEN),(0))+1]
Definition: utsname.h:25
char nodename[COND_CODE_1(CONFIG_POSIX_SINGLE_PROCESS,(CONFIG_POSIX_UNAME_VERSION_LEN),(0))+1]
Definition: utsname.h:23
char release[sizeof("99.99.99-rc1")]
Definition: utsname.h:24
int uname(struct utsname *name)