The fields of the utsname
structure are initialized as follows:
sysname “eCos”
nodename “” (gethostname() is currently not available)
release Major version number of the kernel
version Minor version number of the kernel
machine “” (Requires some config tool changes)
The sizes of these strings are defined by
CYG_POSIX_UTSNAME_LENGTH and
CYG_POSIX_UTSNAME_NODENAME_LENGTH. The
latter defaults to the value of the former, but may also
be set independently to accommodate a longer node name.
The time() function is currently
implemented in the C library.
A set of environment strings may be defined at configuration
time with the CYGDAT_LIBC_DEFAULT_ENVIRONMENT
option. The application may also define an environment by direct
assignment to the environ
variable.
At present isatty() assumes that
any character device is a tty and that all other devices are not
ttys. Since the only kind of device that eCos currently supports
is serial character devices, this is an adequate
distinction.
All system variables supported by sysconf will yield a
value. However, those that are irrelevant to eCos will
either return the default minimum defined in
<limits.h>,
or zero.