4.2.10. CA_SET_PID

4.2.10.1. Name

CA_SET_PID

4.2.10.2. Synopsis

int ioctl(fd, CA_SET_PID, struct ca_pid *pid)

4.2.10.3. Arguments

fd
File descriptor returned by a previous call to open().
pid
Pointer to struct ca_pid.
ca_pid
struct ca_pid
unsigned int pid Program ID
int index PID index. Use -1 to disable.

4.2.10.4. Description

Note

This ioctl is undocumented. Documentation is welcome.

4.2.10.5. Return Value

On success 0 is returned, on error -1 and the errno variable is set appropriately. The generic error codes are described at the Generic Error Codes chapter.