delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/01/05/20:46:05

From: ianc AT kiwiplan DOT co DOT nz (Ian Collins)
Subject: uname and machine identity
5 Jan 1999 20:46:05 -0800 :
Message-ID: <AC4D3D80B239D211BC140000F879A2BA0AECB7.cygnus.gnu-win32@NTMAIL>
Mime-Version: 1.0
To: "Gnu-Win32 (E-mail)" <gnu-win32 AT cygnus DOT com>

I need to get a unique system identity from an application running on b20.1.
On other Unixes, I use,

typedef struct utsname UTS

UTS uts;

uname(uts)

and the unique machine identity is found in uts.machine (on AIX), or
uts.idnumber (on HPUX), etc.

Does anyone know how to get such information on B20.1,  as the output of
uname is very limited.

Regards,
Ian Collins.

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019