table of contents
other versions
DEV_VALID_NAME(9) | Network device support | DEV_VALID_NAME(9) |
NAME¶
dev_valid_name - check if name is okay for network deviceSYNOPSIS¶
bool dev_valid_name(const char * name);
ARGUMENTS¶
const char * namename 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¶
September 2017 | Kernel Hackers Manual 4.12 |