nozzle_get_mac3
Retrieve mac address on a given nozzle interface
Usage
#include <libnozzle.h>
int nozzle_get_mac(
const nozzle_t nozzle,
char **ether_addr
);
Overview
nozzle_get_mac
nozzle - pointer to the nozzle struct
ether_addr - pointers to string containing the current mac address. The string is malloc'ed, the caller needs to free this buffer.
Return value
0 on success. -1 on error and errno is set.
Releases
4 releases since Debian 10 (Buster); the text changed 3 times.