VxWorks Reference Manual : Libraries
aioSysDrv - AIO system driver
aioSysInit( ) - initialize the AIO system driver
This library is the AIO system driver. The system driver implements asynchronous I/O with system AIO tasks performing the AIO requests in a synchronous manner. It is installed as the default driver for AIO.
aioSysDrv, POSIX 1003.1b document
aioSysInit( ) - initialize the AIO system driver
STATUS aioSysInit ( int numTasks, /* number of system tasks */ int taskPrio, /* AIO task priority */ int taskStackSize /* AIO task stack size */ )
This routine initializes the AIO system driver. It should be called once after the AIO library has been initialized. It spawns numTasks system I/O tasks to be executed at taskPrio priority level, with a stack size of taskStackSize. It also starts the wait task and sets the system driver as the default driver for AIO. If numTasks, taskPrio, or taskStackSize is 0, a default value (AIO_IO_TASKS_DFLT, AIO_IO_PRIO_DFLT, or AIO_IO_STACK_DFLT, respectively) is used.
OK if successful, otherwise ERROR.