Types
This function is used to start the flex scanner. It locates the library and loads the linked in driver.
On a single core system or if it's a non-reentrant scanner, a single port is created. On a multi-core system with a reentrant scanner, several ports will be created (one for each scheduler).
Note that the process that calls this function must be permanent. If it dies, the port(s) will exit and the driver unload.