MySQL 9.0.0
Source Code Documentation
my_gethwaddr.cc File Reference

Get hardware address for an interface. More...

#include "my_config.h"
#include <errno.h>
#include <string.h>
#include <unistd.h>
#include "my_inttypes.h"
#include "my_sys.h"
#include "mysql/service_mysql_alloc.h"

Functions

bool my_gethwaddr (uchar *to)
 

Detailed Description

Get hardware address for an interface.

If there are many available, any non-zero one can be used.