FIOSETOWN

Set the owner of a file

Synopsis:

#include <sys/ioctl.h>

#define FIOSETOWN       _IOW('f', 124, int)

Arguments to ioctl():

Argument Value
fd A file descriptor that you obtained by opening the device
request FIOSETOWN
Additional argument A pointer to an int

Description:

This command sets the owner of the file. It's implemented as a call to fcntl() with a command of F_SETOWN.

Input:

If the file descriptor refers to a socket, the process or process group ID that you want to receive SIGURG signals when out-of-band data is available. Positive values indicate a process ID; negative values, other than -1, indicate a process group ID.

Output:

None.

See also:

FIOGETOWN

fcntl(), ioctl() in the QNX Neutrino C Library Reference