dev_valid_name (9) - Linux Manuals
dev_valid_name: check if name is okay for network device
NAME
dev_valid_name - check if name is okay for network device
SYNOPSIS
-
bool dev_valid_name(const char
* name);
ARGUMENTS
name
-
- name string
DESCRIPTION
Network device names need to be valid file names to to allow sysfs to work. We also disallow any kind of whitespace.
COPYRIGHT