2.5.2. DVB frontend close()

2.5.2.1. Name

fe-close - Close a frontend device

2.5.2.2. Synopsis

#include <unistd.h>
int close(int fd)

2.5.2.3. Arguments

fd
File descriptor returned by open().

2.5.2.4. Description

This system call closes a previously opened front-end device. After closing a front-end device, its corresponding hardware might be powered down automatically.

2.5.2.5. Return Value

The function returns 0 on success, -1 on failure and the errno is set appropriately. Possible error codes:

EBADF
fd is not a valid open file descriptor.

Table Of Contents

Previous topic

2.5.1. DVB frontend open()

Next topic

2.5.3. ioctl FE_GET_INFO

This Page