7.4. Software Interface
This
Specifications used in the OMAP Resizer Driver.
7.4.1. Application Programming Interface
7.4.1.1. open
Description
Opens the device driver for processing.
Prototype
Table 7.2. Resizer: open System Call arguments
Return Values
Zero on success, or negative if an error has occurred.
7.4.1.2. close
Description
Close the device.
Prototype
Table 7.3. Resizer: close system call arguments
Return Values
Zero on success.
EINTR, if driver could not get the handle.
Version 02.01.01.08
section
describes
int fd = open(device_name, mode);
Field
Description
It is /dev/omap-resizer
device_name
O_RDWR or ORed with O_NONBLOCK
mode
close(fd);
Field
Description
File descriptor returned from open call.
fd
Platform Support Products
the
Data
Structures,
Resizer Driver
Software Interface
Enumerations,
and
API
127