Contains information about the operating system, LibC, the calling NLM™, and the NetWare® server.
#include <sys/utsname.h> struct utsname { int userspec; int libmajor; int libminor; int librevision; int major; int minor; int revision; int reserved1; int servicepack; int netware_major; int netware_minor; int netware_revision; char servername[64]; char clustername[64]; char languagename[32]; char altlanguagename[32]; int languageid; int altlanguageid; int codepage; int reserved2; int reserved3[4]; void *nlmmodule; int nlmmajor; int nlmminor; int nlmrevision; time_t nlmtimer; char *nlmcommandline; size_t nlmmessagecount; char **nlmmessagetable; char nlmname[36]; char nlmloadpath[256]; char nlmcopyright[256]; char nlmdescription[128]; int nlmloadflags; int reserved4; char release[16]; char version[16]; char sysname[16]; char machine[16]; char nodename[16]; char treename[96]; void *codeoffset; size_t codelength; void *dataoffset; size_t datalength; int reserved5[28]; };
Contains information about the user. This field in untouched by the uname function.
Contains the major version number of LibC.
Contains the minor version number of LibC.
Contains the revision number of LibC.
Contains the Novell® internal major number of the NetWare operating system. See the netware_major field for the product release number.
Contains the Novell internal minor number of the NetWare operating system.See the netware_minor field for the product release number.
Contains the Novell internal revision number of the NetWare operating system. See the netware_revision field for the product release number.
Reserved.
Contains the service pack number.
Contains the major version number of the NetWare operating system for a product release.
Contains the minor version number of the NetWare operating system for a product release.
Contains the revision number of the NetWare operating system for a product release.
Contains the name of the NetWare server.
Contains the NetWare cluster node name.
Contains the current language name for the NetWare server.
Contains the current language name for the calling NLM.
Contains the current language identity for the NetWare server
Contains the current language identity for the calling NLM when it differs from the operating system.
Contains the code page of the display for the NetWare server.
Reserved.
Reserved.
Contains the module handle for the NLM.
Contains the major version number of the calling NLM.
Contains the minor version number of the calling NLM.
Contains the revision number of the calling NLM.
Contains the date and time stamp in UTC for the calling NLM.
Contains the command line at startup for the calling NLM. Unless the caller was linked with libcpre.o (so that LibC performed start up for the caller's first thread), this field is always 0.
Contains a count of the messages in the NLM.
Contains a pointer to the message table in the NLM.
Contains the name of the NLM.
Contains the path used to load the NLM.
Contains the copyright string for the NLM.
Contains the description string for the NLM.
Contains a bit mask of the flags used to load the NLM. See Section 30.1, Load Options.
Reserved.
Contains the release level of this implementation. This is a POSIX defined field.
Contains the version level of this release. This is a POSIX defined field.
Contains the name of the operating system. This is a POSIX defined field.
Contains the hardware type the NetWare server is running on. This is a POSIX defined field.
Contains the name of this node within the network. This is a POSIX defined field.
Contains the name of the NDS tree in which the NetWare server is a node.
Contains the starting address of the code for the NLM.
Contains the length of the code segment.
Contains the starting address of the global or static data in the NLM.
Contains the length of the global or static data used by the NLM.
Reserved for future use.