Alle Monday 04 June 2007, Fabrizio Gattuso ha scritto: > On 4 Giu, 22:10, "Andrea Ferraresi" <[EMAIL PROTECTED]> > > wrote: > > scusate il repost ma ho mandato la mail a fabrizio in privato > > > > ---------- Forwarded message ---------- > > From: Andrea Ferraresi <[EMAIL PROTECTED]> > > Date: 4-giu-2007 22.06 > > Subject: Re: Mac Address in C > > To: Fabrizio Gattuso <[EMAIL PROTECTED]> > > > > tutte le informazioni della scheda vengono date dal comando ifconfig > > quindi basta dare il seguente comando > > > > ifconfig | grep HW > > > > ciao. > > intendevo in C :) non da shell!
Puoi utilizzare ioctl() leggendo i dati della richiesta SIOCGIFCONF nella struttura ifreq. -- Saluti Massimo Consiglio ICQ #44273373 http://www.bozzetto.com/features/West/west14.htm gpg --keyserver search.keyserver.net --recv-key ACD2E735 http://keyserver.linux.it/pks/lookup?op=get&search=0xACD2E735 FE0C E30D 2715 8EB2 AAFE 6B2F 9595 DB40 ACD2 E735 -- Per REVOCARE l'iscrizione alla lista, inviare un email a [EMAIL PROTECTED] con oggetto "unsubscribe". Per problemi inviare un email in INGLESE a [EMAIL PROTECTED] To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

