Re: How to get the MAC address?
Jens Thiele <[email protected]> Mon, 01 Aug 2022 10:05:31 +0200
| Newsgroups | gmane.lisp.scheme.gauche |
|---|---|
| Message-ID | <[email protected]> |
Nanbu Nanbu <[email protected]> writes: > This is nanbuwks@nanbu works inc. > Nice to meet you. > > I am comparing several programming languages to see if they can be used for > low-level programming. > As an example, I am looking into how to get the MAC address of an Ethernet > adapter, preferably using Linux's ioctl. > > How do I get the MAC address of the Ethernet adapter in Gauche? Also, is > there a way to call ioctl? not what you asked for but maybe it is simpler to look at: /sys/class/net/*/address greetings jens