posix_devctl()
QNX SDP8.0C Library ReferenceAPIDeveloper
Control a device
Synopsis:
#include <sys/types.h>
#include <unistd.h>
#include <devctl.h>
int posix_devctl( int filedes,
                  int dcmd,
                  void * dev_data_ptr,
                  size_t n_bytes,
                  int * dev_info_ptr );
Arguments:
See devctl().
Library:
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
Description:
The posix_devctl() function sends the device-specific command dcmd to the process managing the device opened as filedes. We've defined posix_devctl() to be an alias for devctl().
Returns:
See devctl().
Classification:
POSIX Part 26: Device Control Application Program Interface
| Safety: | |
|---|---|
| Cancellation point | Yes | 
| Signal handler | Yes | 
| Thread | Yes | 
Page updated: 
